title |
---|
A Dark and Random Jekyll Demo |
This is a quick demo of some handy things you can add to a Jekyll site.
View the source code on GitHub.
Check out my blog or get in touch at derekkedziora@icloud.com
Read my guide to dark mode to see how I created the dark mode switch on this Jekyll site.
Make sure you have the mode toggle on each page, otherwise you'll always display the system color preference.
You can build a random post link using client side JavaScript! Here's how to do it, or you can go to a random post.
Check out my dynamic now page.
Jekyll doesn't have a built-in tag page, but it's easy to make your own. Here' my guide to making a tag page.
Here's my demo tag page.
{% for post in site.posts %} {% unless post.categories contains "now" %}
[{{ post.title }}]({{ post.url }})
{% endunless %} {% endfor %}