< Notes...

“there really are no uninteresting things...”

Found 18 notes tagged as “hugo”, as shown below. All notes in chronological order.

See all available tags...

ageing1 amazon4 apple46 appletv3 best8 birthdays7 claudine13 cryptography4 css4 elders1 family5 finances1 fonts7 food12 friends10 games32 github1 google15 help5 horsie25 html3 hugo18 hulu4 humans13 humour19 interesting2 japan21 kdramas7 lawn7 life2 llm22 manga9 martin3 me67 memes1 movies32 mum13 music3 netflix14 nyc8 paramount1 philosophy6 politics58 prime2 quotes1 random31 rants39 re5 selfhost5 series37 social13 staticgen5 tech106 tesla1 themet4 thoughts34 tubes46 unix5 via25 videos7 weather11 woodblock4 work17 wwdc3

02 Aug 2025 @ 15:18:22

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: 06 Oct 2025 @ 19:34:06

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%;
}
hugo css
🛠️ 31 Jul 2025 @ 15:40:33

I have added the ability to use emoji as a note marker. For example, this one has a hammer and wrench emoji. It’s simply an entry on the front matter of the note. I will not abuse it, but I think it is going to be useful. If ends up not to be, removing it will be pretty simple, thanks to sed.

hugo tech
11 Jul 2025 @ 09:12:16

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.

hugo staticgen
02 Jul 2025 @ 13:22:11

I am starting to wonder if 17 pixels is a tad too small of a font size for these notes. Under macOS the font size looks fairly legible, but under Ubuntu it seems a tad too small. I will need to check, and make sure screen resolution is the same for both, before doing any further fiddling.

Update: 03 Oct 2025 @ 21:08:04

My main mistake is to use pixels for font sizes. This evening I will be changing them all to use rem/em instead. Still, everything will look smaller at higher resolutions.

hugo tech
26 Jun 2025 @ 17:42:05

I slightly changed the 404 page around here. It used to be Bernie, but he messaged and told me he was tired of it, and was quitting. So, I hired some birds. Just type some rubbish at the address bar after https://netbros.com/ and you will see.

hugo humour
24 Jun 2025 @ 17:34:12

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. 😩

hugo tech
20 Jun 2025 @ 20:46:30

This bash code is what I use to count the amount of notes per year, ever since I started babbling in here. I first move to the content/posts/ directory, then run it. It works great under macOS.

for file in *.md; do \
    head -n 5 "$file" | \
    grep 'date:' | \
    sed 's/date.*\([[:digit:]]\{4\}\).*/\1/' >> count; \
done && \
cat count | sort | uniq -c && \
rm count
hugo tech
17 Jun 2025 @ 20:42:47

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!

hugo tech
04 Jun 2025 @ 10:54:06

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.

hugo staticgen
03 Jun 2025 @ 18:44:08

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.

hugo staticgen
27 May 2025 @ 19:02:00

I have found myself on Nicholas’ “shoes” in quite a few occasions. Those occasions on which Hugo has changed its codebase around, and things that used to work worked no longer. I have been tempted to switch, but then what? Grass is always greener on the other side, and what brought me to it (the other side, that is) will not be the last. Time and again I ended up going to Hugo’s community, and each time I found the fix I needed.

It is my very personal opinion that nothing beats Hugo when it comes to simplicity. Nothing extra to install, just a single binary. Beyond its simplicity, it’s extremely powerful.

hugo tech
23 Jun 2023 @ 16:13:57

If you have JavaScript enabled in your browser (who doesn’t these days?!), old anchor links will now work, instead of what I previously stated. I will not be creating anchor links anymore, but old ones in use elsewhere will work.

hugo
22 Jun 2023 @ 11:54:16

I have managed to break links a bit further, and it is no longer possible—nor the old ones will work—to create anchor links within the paginated index. On the upside, I am not touching URIs ever again!

hugo tech
21 Jun 2023 @ 15:49:08

Fiddled a bit more with Notes, because I can’t stay still. Hopefully still looks simple, and minimalist. That has always been my aim.

hugo
21 Jun 2023 @ 08:00:13

I saw that hugo v0.114 was out, so I had to upgrade (from 0.112, nonetheless). Let’s see if it breaks things, or not. I think I said it before, but Hugo drives these notes.

hugo
20 Jun 2023 @ 11:52:21

I did it again, I am breaking URIs here. After 100 notes, the main page will paginate, which will break internal references, and external links. Hopefully this is the last time I do this. Good thing there is only one incoming link, that I know off. I can now fix the internal ones, as there are not too many. 😅

hugo
23 May 2023 @ 08:13:03

Having grown tired of seeing “Added or edited a note, or tweaked something.” on the commit logs for these notes, I have now tweaked the new note script to ask for a commit message. This is the maiden voyage, let’s see if it works.

Update: 04 Oct 2025 @ 17:18:14

It works! Added editing old notes too. Considering migrating from the vi editor to Typora for any note with media in it.

hugo tech
30 Apr 2023 @ 15:58:53

For as much as I hate doing this, I believe—unless I find a way further down the line to bring in the old entries—this is a fresh start here. Why? Because the way I was crafting these little notes would not scale. At certain point I used Hugo, then wiped it by mistake (because I do idiotic things sometimes), and then I concocted this Frankenstein of a Bash script. The end result is a file that doesn’t allow for easy editing, nor it is portable. So, here we are.

This time I am starting over—again—with Hugo. Everything in life is ephemeral, and this is no different.

hugo staticgen