Notes - Hugo

< Notes...

“there really are no uninteresting things...”

All notes tagged as "hugo", in chronological order.

02 Aug 2025 @ 15:18:22 #hugo #tech

I am defeated by Hugo’s syntax highlighter. I don’t use code blocks much around here, but the few I have do not want to play nice, and show fonts with different sizes on desktop, and mobile. I haven’t been able to figure out, for the good of me, how to fix that weird behaviour. For now, the few code blocks I around have syntax highlighting turned off.

Update: 02 Oct 2025 @ 11:24:18

OMG! This guy is a saviour! In his own words:

“Lately, I’ve been coming across many blogs that have weird font-size rendering issues for code blocks on iOS. Basically, in a code snippet, the text-size would sometimes be much larger for some lines than others.”

Exactly my problem. Applied the fix he recommends and, boom, just like that, magic! Thank you, Nathan!

code {
    text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}
11 Jul 2025 @ 09:12:16 #hugo #staticgen

First there was Jekyll, then there was Hugo (which I use), with many others in between. Now it seems Astro is the latest kid in the block. Beautiful stuff can be done with it, if you don’t mind, and/or know, JavaScript. I might be too old for it.

24 Jun 2025 @ 17:34:12 #hugo #tech

I have automated the process that adds a notice and timestamp when I edit a note, when adding more content to it at a later time. It works great, as it uses the git lastmod timestamp. The unfortunate side effect was, all timestamps got reset because I actually modified all notes that had an UPDATE notice. 😩

17 Jun 2025 @ 20:42:47 #hugo #tech

I am trying to implement a workflow, so that I can use a graphical editor for creating new notes while in front of the computer, that is, not over an SSH connection. Let’s see how it goes.

Update: 02 Oct 2025 @ 16:49:20

Yup, it works quite well. I really don’t know why it took me this long to implement something as simple as this (I am using Obsidian now to create and edit notes if not over SSH). I guess I usually create notes on Terminal, on Bash, and didn’t have the need for anything else. Until now!

04 Jun 2025 @ 10:54:06 #hugo #staticgen

Ever since I moved from WordPress (ugh!) to Jekyll at the beginning of 2011, and then to Hugo, sometime in 2014, I haven’t had comments on any website I have dabbled with. I want to believe I have been happier that way. For a few I tried kudos here, using Tinylytics, but that didn’t last long.

Less is, truly, more.

03 Jun 2025 @ 18:44:08 #hugo #staticgen

Oh oh, should I worry? My brew upgrade just updated Hugo to v0.147.7. Last time I upgraded it everything broke loose. I figure I may as well test it, so this is it. If this post shows without errors, I should consider myself lucky, and clap twice.