Hello again, Hugo

You’ll notice that baty.net is back to using Hugo1. I really like Kirby, but every time I use a platform that’s not fully static, I get twitchy, and I got twitchy. I’m using a new theme, Anubis2, which I find to be easy to read and just the right amount of boring. It doesn’t have all the features of the PaperMod theme I was using, but it’s simpler, and simpler is what I was after. ...

February 3, 2025 · 217 words

Adding Pagefind search to Hugo

Pagefind makes me happy. It is a static search library that is so easy to configure and use that I can hardly believe it. Here’s a quick summary of how I implemented Pagefind search here in the Anubis2 Hugo theme1. ...

January 31, 2025 · 260 words

Moving to Hugo?

I came this close to moving my blog at baty.net back to Hugo. Even worse, I considered archiving all the content and starting fresh. I mean, completely fresh. No more dragging around years of images and posts that have been converted to and from several Markdown formats for various blogging engines. I still may, but I’ve given myself a reprieve this morning. Sort of. ...

January 30, 2025 · 169 words

From Hugo to Ghost and back again

It’s been nearly a month using Ghost, so it was time to switch back to Hugo.

December 2, 2024 · 294 words

Another Hugo deprecation

I sure wish Hugo would stop deprecating things. This time it’s site.Social. My theme uses that in a couple of files, and the theme’s author is busy and doesn’t always have time to fix things right away. They now want site.Params.Social so I’ve temporarily fixed the problem myself by editing two files. In twitter_cards.html: {{ with site.Social.twitter -}} # becomes {{ with .Site.Params.Social.twitter -}} And in opengraph.html: {{- with site.Social.facebook_admin }} # becomes {{- with .Site.Params.Social.facebook_admin }} At least now the error is gone and the site builds. I’ll need to keep an eye on the PaperMod repo for a real fix. ...

October 27, 2024 · 106 words
Self-portrait with M3 (2022)

Sunday, October 27, 2024

We’re back on Hugo

Clear 37.0 | Low 36.5, High 59.7 · 146 words

Sunday, September 29, 2024

New Orleans without a camera. Hugo and Kirby options.

Partly cloudy 63.0 | Low 61.3, High 82.6 · 439 words

How many times am I going to fix RSS images for the first time?

OMG I never learn. Even when I write stuff down. Every time I switch back to Hugo, I complain about the fact that when using relative image links in Hugo’s Page Bundles, they don’t work in the RSS feed. Then I spend time digging around old forum posts or whatever trying to fix the problem. Except I already have fixed the problem. At least twice. Maybe just check your own notes, Jack. ...

September 7, 2024 · 483 words

Sooo...Hugo again?

I was bored and feeling some nostalgia about Hugo so here we are again.

August 15, 2024 · 60 words

From Kirby To Hugo

We’re back on Hugo for baty.net. For the past few months, I’ve been learning how to create a blog using Kirby CMS and it’s been a blast. Kirby is pleasant, easy, and fun to use. I’m glad I did it. I won’t bother you with a 2,000-word rationalization piece about switching. I just felt like using Hugo again, so here we are. I missed my nice Emacs-based publishing workflow. I missed “normal” YAML front matter. I missed having a completely static website. Who knows where we’ll be in a month, but today we’re using Hugo. I went back to the PaperMod theme. I don’t love how boring it is, but it’s clean, feature-rich, frequently updated, and easy to customize. ...

January 14, 2024 · 144 words

Wednesday, January 10, 2024

After yesterday’s Kirby->Hugo-Kirby debacle, I’ve been thinking about why I spend so much time farting around with and on my blog. Fair question, and one I don’t really have an answer to. I guess it’s my little place on the internet and I like to have the furniture arranged just so. But “just so” changes all the time, so I keep trying new configurations. It’s fun. Also useless, and nobody but me cares, but still. ...

Low 29.2, High 32.3 - Light snow · 75 words

Tuesday, January 09, 2024

Have you ever been so enamoured with plain-text-static-html publishing that you’re willing to burn down a month of implementing a blog using Kirby CMS in order to go back to using Emacs and Markdown and Hugo? I have.

Low 30.5, High 33.9 - Heavy snow · 38 words

Are we back on Hugo?

It’s possible that no one will ever see this post. I’m writing a Hugo-formatted markdown file in Emacs. This means it will be published to a defunct copy of my blog1 Unless of course I decide to bring it back as baty.net. If that happens, then 👋! ↩︎

November 7, 2023 · 47 words

Creating new Hugo posts using Emacs but with an option to use bundles

A lisp function for generating either Page Bundles or normal Markdown files when creating new Hugo posts.

October 7, 2023 · 370 words

Images in Hugo RSS feeds

How to fix URLs in RSS feeds when using relative paths in page bundles in Hugo

October 6, 2023 · 529 words

A new (old) theme for baty.net

I needed a change, so I brought the Papermod theme back.

August 16, 2023 · 72 words

Editing Hugo's Markdown directly (not using ox-hugo)

I have been wondering if the benefits of using ox-hugo just so I can write posts using Org-mode format is worth the extra layer of abstraction. I prefer Org-mode to Markdown, but Markdown is fine. In fact, Markdown-mode makes editing Markdown in Emacs quite pleasant. Ox-hugo is a great package, but increasingly seemed like a clever but unnecessary abstraction. One of its best features is that it makes creating new posts super easy. I never liked using the Hugo CLI, so ox-hugo solved that problem. ...

June 22, 2023 · 506 words

Tuesday, June 20, 2023

A new Hugo theme

June 20, 2023 · 63 words

Welcome to Tumblr

As much as I, ehem, LoveIt, the theme’s very theme-specific magic felt like trouble waiting to happen. And honestly, I was bored with it, so I went looking for something new. ...

July 27, 2022 · 131 words

Marking a region for highlighting in Hugo posts

You’ll notice that I highlight short phrases in many of my daily post entries here. I think this makes it easier to scan things later. The HTML markup for this is just a styled <mark> tag wrapping the text to be highlighted. I write my posts in Org-mode and convert them to Hugo-compatible Markdown using ox-hugo. The path from Org-mode to HTML for this is a little convoluted, so I cheat and use a macro to generate the markup. ...

June 12, 2022 · 208 words