Jekyll is a static site generator. It processes your site by converting Markdown files into static HTML. Jekyll uses the Liquid templating language to process templates. 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-pagesgem instead ofjekyllin yourGemfile. In this scenario you may also want to excludeGemfile.lockfrom your repository because GitHub Pages ignores that file.
Useful Links
- Quickstart - Jekyll β’ Simple, blog-aware, static sites
- Liquid template language
- The Liquid Sandbox
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
- Material for MkDocs
Advice from the Obsidian Team itself (on hosting .md files)