Requirements:
- Nix, preferably with flakes enabled
- direnv (optional, makes things more comfortable)
- nix-direnv (also optional)
Then:
$ nix shell # you don't need this if you have direnv and nix-direnv, haha two dependencies to skip one command
$ bundle install
$ bundle exec jekyll serve
Blog posts are simple markdown files.
- The file should be called something like
_posts/YYYY-MM-DD-my-great-post-title.md
- Add this on top (also called front matter):
---
layout: post
title: <mein großartiger titel, wird als überschrift angezeigt>
---
Files with layout: page
will be automagically added to the sidebar. The link title will be the title of the page (title: <mein titel>
). Currently, these files are about.md
, opening_hours.md
and supply.md
.
Put the image into for example public/images/my-image.png
. Then add a link to the post like this: ![Bild-Tooltip]({{ 'public/images/my-image.png' | relative_url }})
.
- Hyde, the jekyll theme that this repository is built upon
- Poole, the jekyll theme that Hyde is built upon and that is more up-to-date
- Jekyll URL troubleshooting