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 · Jack Baty

Images in Hugo RSS feeds

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

October 6, 2023 · 528 words · Jack Baty

A new (old) theme for baty.net

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

August 16, 2023 · 72 words · Jack Baty

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 · Jack Baty

Tuesday, June 20, 2023

A new Hugo theme

June 20, 2023 · 63 words · Jack Baty

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 · Jack Baty

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 · Jack Baty

Will I always be a static website person?

UPDATE June 09, 2022: This post was copied and pasted from the original WordPress post. Meta! :) I’m typing this post in the WordPress editor. I don’t enjoy writing here unless I’m adding an image gallery or some other fancy embedded content. It just feels off. “So write in MarsEdit or Ulysses or something instead,” you implore. ...

June 9, 2022 · 388 words · Jack Baty

Bringing my Daily posts here to baty.net

Now that I’ve moved my blog back to a static site generated with Hugo, I noticed that I was writing both my Daily notes and my blog posts in side-by-side Emacs buffers. It got me thinking about consolidating my sites even further. ...

April 9, 2022 · 378 words · Jack Baty

A new blog just for the hell of it

Here we are, running the show as a static blog, using Hugo. But why!? I suppose because I was bored and because it’s fun. ...

April 3, 2022 · 109 words · Jack Baty

Hey! Where'd all the posts go?

I finally did it. I broke this blog apart and archived 20 years of history. You see, I still wanted it to live here at baty.net but I didn’t want to keep lugging around 20 years of posts every time I built or deployed or moved things. So I started with a fresh copy of the theme, kept only the content from 2021, and moved all the archives to archive.baty.net. Yes, I understand that this means a bunch of broken links. I’m trying to find a good solution to that, but not letting it stop me. ...

January 17, 2021 · 164 words · Jack Baty