Searching baty.net

I’ve added a search page. It uses Pagefind. It turns out I’d already begun work on this with the original site. The clue was a commented-out line in my Makefile: index: npx -y pagefind --site ${SITE_DIR} All I needed to do was create a search page and add a snippet: --- layout: layouts/base.njk title: Search slug: /search --- <link href="/pagefind/pagefind-ui.css" rel="stylesheet"> <script src="/pagefind/pagefind-ui.js"></script> <div id="search"></div> <script> window.addEventListener('DOMContentLoaded', (event) => { new PagefindUI({ element: "#search", showSubResults: true, pageSize: 10, autofocus: true }); }); </script> To manually build the index, I render the site and then index it. using npx -y pagefind --site _site. I do this as part of the deploy recipe in the Makefile. ...

October 12, 2024 Â· 137 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

A reason to post?

I keep this blog around so that I have somewhere to post images and maybe a little background as well as the ever-popular gearhead nonsense. So why do I so rarely post anything? I don’t post often because a blog dedicated to photography makes me feel that each post needs gravitas. Each post needs to be worth something. Relevance. Well that’s obviously not working, so I’d like to behave a bit more frivolous about things around here. Maybe I’ll post single images with a caption and that’s it. Maybe I’ll let you know what I’m thinking about cameras in general, or a specific camera I’ve been using or wanting to use. ...

November 15, 2021 Â· 131 words

Testing the Iceberg editor for WordPress…again

Unless I’m doing some crazy non-standard layout, I’m not a fan of using WordPress’ Gutenberg editor. Mostly I just want to type some simple text and add a link or two. Last year I bought a license for Iceberg which is a lightweight Gutenberg replacement that feels more “normal”. I stopped using it because there was a kind of uncanny valley effect, but after several frustrating days wrestling Gutenberg, I’m trying Iceberg again. Here’s what this post looks like in Iceberg ...

June 17, 2021 Â· 94 words

Idle or floor it?

Things have been stagnating around here. I haven’t felt like doing any capital-B Blogging. Rather, I’ve been pouring stuff into rudimentarylathe.wiki. It’s just easier to have the daily notes tiddler open and type as I go. No need to come up with titles or worry about whether I have enough words put together to justify a new post. Writing blog posts is a Whole Thing™. This blog started out as a place for me to share photos and their supporting processes and gear. Later, I combined it with my other blog(s) in an effort to consolidate my “presence”. Instead of writing more, which is what I expected to happen, I write almost never. ...

May 17, 2021 Â· 234 words

What if I didn't share everything?

I wonder what I would choose to do with my time if I didn’t share every detail of my life? Let’s find out.

May 4, 2021 Â· 23 words

My blog's overwrought theme

Everything in my life has become overwrought, overthought, overdone, and needs to be unwound. Today, I’m dealing with this blog at copingmechanism.com. A few weeks ago I decided to go back to using WordPress (again), and dammit I’m going to try sticking with it this time. But, I don’t like any WordPress themes. There are thousands of them, and I can never find one that works for me. Oh, I find a lot of them that make me say, “Ooh, cool!” and install immediately and say, “There, that’s nice!” ...

April 15, 2021 Â· 320 words

Another attempt and having One True Blog

I am once again having thoughts about only maintaining One True Blog™. I know, it’s just another mood and it’ll probably change, but as I wrote a few days ago, I don’t feel like blogging lately. I’m wondering if this is partially because I’m exhausted by the decisions around publishing. Just last week I moved my other blog at baty.blog from Blot to Micro.blog and back again. This meant switching from using Emacs to edit posts to MarsEdit (and back). I maintain automation to support all of it, and keeping all those threads going has become less interesting. ...

March 30, 2021 Â· 162 words

Coping with the Mechanism

Sometimes I get bored with the way I’m running things around here and look to mix things up a bit. It’s happened again. This time, it meant bringing back the Coping Mechanism blog. You’re soaking in it. I have my stuff at a few different domains: copingmechanism.com. This brand new blog. Running WordPress Ghost WordPress. baty.net. My blog since 2000. Generated by Hugo. I’ll probably move the thousands of posts to archive.baty.net and make baty.net an introduction and jumping off point. I have mixed feelings about this, but here we are. Roam Research. I have a public Roam database that I pour words into throughout the day. Nothing is edited, or even well-considered, for that matter. micro.baty.net. Short posts using the wonderful micro.blog service. rudimentarylathe.org. This was my wiki for quite a while. Built with TiddlyWiki, but now idle. I’m afraid there will never be such a thing as The One True Blog for me. But, for now, I’ll be focusing my blogging attention here. There will also be random gibberish in Roam, and short posts at micro.blog. ...

October 23, 2020 Â· 265 words