Site

Posts where something interesting happened with the site itself.

Listing Hugo Content Extensions With Raku

Listing Hugo Content Extensions With Raku

Twenty seconds to write a one-liner, and two days to think about it

Read on…

Every Post Has a UUID

Gave them all a Universally Unique Identifer, per RFC 4122.

Should simplify rearranging the site sources. Helpful hint: don’t rely on filenames as unique content identifiers for your workflow. Oh sure they work fine 80% of the time, but that last 20% is a doozy.

I used Python’s uuid library. There’s also the uuidgen command if I switch away from a Python workflow.

Passing Tests Is Now Required to Push

Passing Tests Is Now Required to Push

Push the site, that is.

Building on work from the other day. Course, I don’t know what test coverage is. I know it ain’t 100% of what I want to check.

Today in Personal Accomplishments

Today in Personal Accomplishments

Been doing quality assurance on my site. Need to know what I got before any more big changes. Yes, 7.3 seconds is slow for Hugo. It’s all the RST. No plan to change that.

That Is Just Embarrassing

That Is Just Embarrassing

Got an Invoke test task for the site. Because of that, I found a post about Jekyll collections that got truncated — before the current repo existed.

Fixed it though. Got the missing content from an old copy. Yay for Internet Archive!

Sort of Tufte CSS

Sort of Tufte CSS

I tried something new with my site style.

Read on…

I have one like somewhere

I have one like somewhere

Been meaning to get webmention integration for a while. Went the easy way, using webmention.io and brid.gy. Easier than writing everything myself.

For now it’s just like counts, with a Invoke task checking my mentions feed at Hugo build time. More stuff is planned, but first I decide how much information to show and from which sources. Not every tweet reply is intended as a blog comment.

Python Invoke

I got to know the Python invoke task runner a little better.

Read on…

Stealing a Hugo Shortcode for Nikola

Stealing a Hugo Shortcode for Nikola

I needed a YouTube shortcode for Nikola, so I adapted Hugo’s.

Read on…

Yay Fluid Images

Yay Fluid Images

Fluid images in my posts, with added ![]() accepted syntax for the markdown content! This Hugo community post covers the details.

Amusingly, I’m doing this to make it easier to convert to another system. Other site generators know what to do with standard image markup, as opposed to my custom shortcode. The key for the Big Rewrite is to keep working on what you have now. That way the Big Rewrite isn’t quite so big.