I recently learned Jekyll, a fantastic static generator that’s designed for building minimal static blogs, portfolio to be hosted on GitHub Pages. The simplicity of Jekyll’s theming layout and writing workflow is fantastic when you want something simple and no database to deal with.
What is Jekyll?
Jekyll is a static generator that’s designed for building static pages and blogs. Jekyll takes your content written Markdown, passes it through your templates, and spits it out as a complete website, ready to be served. One of the advantages of using Jekyll is that GitHub Pages can serve your static pages directly from your GitHub repository so that you don’t have to deal with any hosting and it’s free.
The Simplicity of Jekyll
Jekyll strips down everything to the bare minimum and eliminating a lot of complexity. Jekyll has some advantages and they are are as followed.
- No Database
- Unlike WordPress or other content management systems, Jekyll doesn’t use a database. All posts and pages are converted to static HTML.
- No CMS
- All of your content uses Markdown (.md) file and Jekyll will run through the template to generate your static site. GitHub can serve as a CMS if needed because you can edit the content on it.
- Jekyll is fast because it is been stripped down and without a database and since you are just serving up static pages.
Even if you can host your site with GitHub Pages, you can also serve your static pages using a self-hosted server and all you have to do is copy the production files over to the server.