Jekyll (14)
Apps, games & projects
Jekyll YAML front matter validator
A dotnet script that validates Jekyll YAML front matter so a blog builds correctly, checking categories, layout, title, description, date, image and tags.
2020
Jekyll - does not have a valid date in the YAML front matter
To fix this, simply add the tmp directory to the list of excludes in your _config.yml.
Redirects in Jekyll - unique means unique
The web is hard. URLs with or without a trailing / are not the same, and I must remember this when using redirects.
Use the cache action to speedup GitHub Actions
To make your workflows faster and more efficient, you can create and use caches for dependencies and other commonly reused files.
HTMLProofer's cache does not support Norwegian characters
HTMLProofer's cache does not support Norwegian characters.
2019
A tag cloud sorted by post count in Jekyll without plugins
This post shows how you can create a tag cloud sorted by post count in Jekyll without plugins, thus making the solution compatible with GitHub Pages.
Sorting tags by number of posts in Jekyll without plugins
This post shows how you can create a tags-page in Jekyll using only Liquid-templates, requiring no plugins and making it compatible with GitHub Pages.
Jekyll - ERROR bad Request-Line
Jekyll did not understand HTTPS-request while running locally. Use HTTP instead.
Jekyll YAML front matter validator
A simple script that validates Jekyll YAML front matter according to specific rules verifying that a Jekyll blog will build correctly.
Continuing an ordered list in Markdown
To continue an ordered list in Markdown on Jekyll, use {:start="n"}.
2018
Purge Cloudflare cache on new Jekyll posts
A simple script written in dotnet script which purges changed pages from the Cloudflare cache when adding a new post to Jekyll.
Jekyll error - bad Request-Line
Clean after updating jekyll or other required gems if serve starts failing.
2017
Enabling https on a Jekyll site
After enabling https on my Jekyll site, my internal links tried to load over https even on localhost. This post explains how I fixed it.