Automation from Bare Metal to the Cloud!

Worklog - 2023-02-03: Jekyll+Liquid: Categorize Pages by Directory

Goal: Automatically group pages by directory

In Learn Jekyll Templating, the basic site pages template provided by minima was hacked into the slate theme in order to list all markdown pages within the site.

The result is a simple list of all markdown pages.

However, the pages were originally created within parent directories in order to group them.

Timebox an investigation into whether these parent directories can be used as a category.

Result

This was possible, and the results can be seen in the _includes/site_pages.html of the GH Pages repo.

The include itself serves as good-enough documentation of this experiment, but does not capture the resources used during the learning process.

time ~1h for experiment, ~15min for writeup

Resources