Recent
Dev Diary 0009 - Week of November 27th
This week I spent most of my time playing around with my blog theme. I realized I’ve been using Micro.blog for over a year now and I wanted to make some fixes to my blog theme.
Step one: group by year
There are several places in my blog that I wanted to group things by year. Photos being the main one, but also category pages and the archive.
Luckily Hugo has a way to easily group a page collection by date. Here is a simplified version of my archive page. Note the .Key contains the date in the format specified by GroupByDate
{{ range (where .Site.Pages "Type" "post").GroupByDate "2006" âĶ
:
Did you know you can filter content out of the Micro.blog timeline and comments using the ðļ Lillihub client? Go to “Settings” and save a list of terms. Note: the list is saved on the browser so if you are using Lillihub on multiple devices you will need to configure it on each device.
Featured Adventures