The Citadel. š
My youngest brother in law just graduated college! Elsa looks pretty good in his hat.
The Citadel. š
My youngest brother in law just graduated college! Elsa looks pretty good in his hat.
I added photos to my list of posts “This Month” at the bottom of each page. I’ve really enjoyed my updated design and the emphasis on long posts. But pretty quickly I had the thought that photo posts deserve the same kind of emphasis. A nice consequence of using the same partial
for my Archive page and the “This Month” section of the homepage is photos now show up in my archive list as well.
I took a screenshot of February, since as soon as I make this post the change will no longer be apparently, at least until I post a photo this month.
The final day of February is actually a great indication of how I want the site to work– it was a day of short posts, some of which make more sense read sequentially as I had those thoughts. The full day fits without scrolling and is clear. At the same time, you can see the “anchor” posts in February– those times I had more to say or posted some photos that may still be interesting a few days or weeks later.
I think this redesign has been a success.
I used an emoji to indicate that there’s a photo, but I may switch to using an SVG or similar in the future. We’ll see how it grows on me. I think the fact that emoji styles change on different platforms makes them a bad choice, and I’m not sure the look goes with the fixed-width font I use everywhere.
Photo posts have text along with them– but often not titles– so I chose to render:
|
|
The thought is I don’t want long content, so limit them to the canonical “tweet” length. I may adjust that over time.
I also have precedence– if the photo post has a title, it does not have the emoji right now and just the title shows up. I might change that, I’m not sure. It’d be fairly easy to show the title and photo, but I think this is kind of rare and this new design fits better the expectations of photo posts that are syndicated elsewhere– picture plus short comment, not title + photo + comment. Plus, posts that happen to have photos but are titled are more likely to be true “macro” posts anyway.
My category for pictures is photoblogging
, and it’s set using a Micro.blog category filter for any post containing jpeg
or jpg
. So screenshots, like the png
in this post, are not included.
I can’t believe how far some of my friends came to watch our first show, which was meant to be a low stakes thing away from home. It was a blast to be on stage again after almost 20 years. I should have asked to have vocals and keys in the monitor up front, but oh well. Also, my old Dunlop pedal tuner is a piece of shit that was tracking terrible so I was not able to correct some tuning issues probably only I noticed.
Very successful first run out.
Stop taunting me, Reverb.
The main issue I’ve run into was the following:
.Site.Author was deprecated in Hugo v0.124.0 and will be removed in Hugo 0.141.0. Implement taxonomy 'author' or use .Site.Params.Author instead.
This is a relatively easy fix– include your .Site.author
data in config.json
under Params like so:
|
|
Unfortunately, lots of places across Micro.blog templates reference .Site.Author
, most especially RSS and JSON feeds.
So in addition to changing references to .Site.author
in your own theme (most likely in head.html
partials), you’ll have to bring in custom versions of RSS, JSON, and podcast feeds to have a successful site build.
Micro.blog isn’t ready for Hugo 0.140.0 quite yet, but it’s possible to get up and running if you have a custom theme and know how to maintain it. Unfortunately, Hugo doesn’t use semver or anything like it. They also don’t offer stepwise upgrade guides so that you can say, select your current version and the version you want to upgrade to and easily get the steps necessary to keep things working.
There are some nice features that have been added since the last upgrade of Hugo on Micro.blog, but I have to say, the surface of breaking changes that Hugo makes and its impact on themes and plug-ins really feels like a liability. If Hugo followed semver, it’d be a lot easier to maintain versions of themes and plug-ins verified to work at certain markers and maintain older versions as well. As it stands, the upgrade path is kind of rough, and places a lot of burden on a small number of folks.
I’m thinking about if there’s a way that we can incorporate something like the exampleSite
process for Hugo as well as some key steps in the Micro.blog process (namely the coalescing of templates and configuration) into a GitHub Actions build step. What I’m imagining is that each theme can have a GitHub Action that builds the exampleSite by coalescing the theme-blank templates and configuration, using reasonable environment variables for some default values that are set on Micro.blog, and then builds against multiple versions of Hugo, generating a check artifact for compatibility. It’s possible even to maintain a release branch for each version of Hugo that is supported by Micro.blog that tests against that version and ensures compatibility.
This way, themes can be updated one version of Hugo at a time, even when Micro.blog doesn’t necessarily support it. Community members can easily generate pull requests that update a theme to a working build on a new version, and maybe the burden can be spread a bit.
With a system like that setup, for example, I suspect it would take me under an hour to get most themes working. Occasionally there’d be a problem that needs a Manton-level fix, but that’d be easy to find. I suspect almost all problems could be solved without Micro.blog official participation provided that theme-blank is used for the coalesce and has a working release that matches the Hugo version. In other words, fixing theme-blank
for a version and using that release branch should cover all or nearly all of the Micro.blog-system-level support necessary to fix the downstream themes.
For example, all of the RSS and JSON feed fixes are not needed if theme-blank
is updated to use .Site.params.author
– except doing so now would break every theme on older versions of Hugo.