Site

Posts where something interesting happened with the site itself.

Alias Templates in Hugo

Alias Templates in Hugo

I killed some redirects for accessibility and likes

Read on…

Letting Ruby build Asciidoctor files for Hugo

Letting Ruby build Asciidoctor files for Hugo

Stuff like this is why i don’t advertise my site repo

Read on…

I Added 10 Seconds to Build Time!

I Added 10 Seconds to Build Time!

I finally have year/month archives on my site. Bookmarked a post on the topic by Adam Jarret a while back. Finally did it. In Perl, though. Not Node.js.

The build time problem comes from following his template logic - based on a Jekyll plugin. Got some ideas, but they’ll wait. Now it’s bedtime.

Shaved 3 Seconds Off Site Build Time!

And I spent two days doing it. So let’s see. If I somehow post every day, that work should pay off somewhere around — counts on fingers — 2026?

Okay I did other stuff besides microoptimization, but still. I am amused.

Querying Hugo Content With Python

Querying Hugo Content With Python

I had entirely too much fun replacing my site metadata script with sqlite-utils

Read on…

Sorry if I Broke Your Rss Feed

Sorry if I Broke Your Rss Feed

But hey I got my permalinks where I wanted them, without needing a UUID after all. Took a bit of juggling to get the Hugo aliases and my support data synced up. You folks got the Jamstack — JavaScript, APIs, Markup — for your static sites. I got — uh, guess I got the "Damstack" — Database, APIs, Markup — for my static site.

Blame fREW. For the idea. Not the terrible name. That’s all me, friends.

Patronize Me on Liberapay

Patronize Me on Liberapay

Been skimming through ethical.net resources recently. Liberapay looks interesting: a patronage system like Patreon, but without reward tiers. More of a "keep doing — whatever the hell it is that you’re doing — it’s great" approach. So I joined of course. Give me money and I’ll keep doing exactly what I’ve been doing. Such a deal!

Update
2020-04-27

Added a Stripe account, which should simplify Liberapay and life in general.

h-entry Microformat for Indieweb Posts

h-entry Microformat for Indieweb Posts

In which I go overboard with Hugo and Python for a quick Sunday task

Read on…

Indieweb h-cards

Indieweb h-cards

Using microformats to build a profile page

Read on…

Yay I Added Mentions and Replies

Yay I Added Mentions and Replies

Not real time, of course. It updates when I build the site. The layout needs touching up. But all the details are there.

I used Max Böck’s Webmentions post as a starting point.

And yes, I’m far enough along with the Indieweb stuff that my study notes would make a decent blog post. Maybe a couple.