Coder Social home page Coder Social logo

gantoin / jbake-clean-blog-template Goto Github PK

View Code? Open in Web Editor NEW

This project forked from siddheshrane/jbake-clean-blog-template

0.0 0.0 0.0 3.5 MB

Home Page: https://SiddheshRane.github.io/jbake-clean-blog-template

License: Other

JavaScript 7.56% CSS 86.67% HTML 5.78%

jbake-clean-blog-template's Introduction

Clean Blog

A port of Clean Blog by Start Bootstrap for JBake.

Features

  • Fully functional out of the box. No need to modify templates for trivial customization. Individual specific customization goes in jbake.properties

  • Post snippet instead of full post in index. The snippet is taken as the first paragraph (<p> element) from post body

  • coverimage per post to change background

  • Navbar auto lists pages using page.title and page.uri

  • Disqus comments and Google Analytics

  • Share your blog on Twitter and Facebook with clickable image link using Twitter Cards and Facebook Cards

  • Github, Twitter, Linkedin links at the footer

  • Tag list with links to tag page in index and post

  • Uses thymeleaf the way it was intended to be used. This means you can preview the theme even before baking it

Missing

  • No pagination support as yet. If you set index.paginate=true in jbake.properties you’ll have multiple index files in the sequence index.html, index0.html …​ by JBake but the theme doesn’t do anything to link these pages

  • Not tested with `noExtensionUri`s. If you use Github Pages, a folder with index.html will be treated like an extensionless uri

  • Currently nothing links to the archive page.

  • Navbar auto lists all pages by default. This is fine if you have few important pages like about and contact but if there are a lot of pages that are not top level, but can be reached from other pages, then it becomes messy. I plan to introduce custom metadata for indicating whether a page should be pinned or not

How to use

Clone or Download this theme from github. I assume you are familiar with JBake and have installed it on your system.

If you already have a blog

  • replace your templates folder with this one.

  • Remove your earlier theme specific files from assets.

  • copy files from my assets folder to your assets folder.

  • Copy contents from my jbake.properties file to your jbake.properties file. Replace overlapping entries.

Note
This theme sets output folder to docs by default.

If you wish to start from scratch with this theme:

  • Remove unwanted files like README, LICENSE, nbproject. this step is optional though

  • modify user/blog specific fields in jbake.properties

  • Delete sample files from contents folder, or modify them to start with your content

Finally jbake -b to render your site.

jbake-clean-blog-template's People

Contributors

siddheshrane avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.