What is Jekyll?
Jekyll is a static site generator. It processes your site by converting Markdown and Liquid files into static HTML. Any files or folders that don’t start with an underscore (_
) are copied verbatim to the _site
output folder when you build your site.
Example folder structure:
my-jekyll-site
├── _data
├── _includes
├── _layouts
├── _posts
├── _site
├── _config.yml
├── Gemfile
├── assets
├── css
│ └── main.css
├── images
│ └── logo.png
└── js
└── scripts.js
├── index.html (could also be an .md file)
└── about.md
Gemfile (publishing with GitHub)
If publishing your site with GitHub Pages, you can match production version of Jekyll by using the
github-pages
gem instead ofjekyll
in yourGemfile
. In this scenario you may also want to excludeGemfile.lock
from your repository because GitHub Pages ignores that file.
Themes I Like
- sighingnow/jekyll-gitbook: Build Jekyll site with GitBook style!
- just-the-docs/just-the-docs: A modern, high customizable, responsive Jekyll theme for documentation with built-in search.
Alternatives
HUGO is an alternative framework I found along the way. Might try to use it later on.
- Documentation: The world’s fastest framework for building websites
- A simple HUGO theme: Book
Advice from the Obsidian Team itself (on hosting .md files) 🙂