Add Light/Dark Logo Swap

K so PaperMod comes with a light-mode/dark-mode toggle, but no method for swapping the site’s logo at the same time. I really wanted that, and got it to work after a few hours of tinkering. First, copy these files: themes\PaperMod\layouts\partials\footer.html themes\PaperMod\layouts\partials\header.html to here: layouts\partials\footer.html layouts\partials\header.html In your new footer.html file, add two lines to the site.Params.disableThemeToggle block to make your site load the right logo when the theme is switched....

18 Jul 2022 · 2 min

Reverse PaperMod Nav Links

When running Hugo with the PaperMod theme, the nav links at the bottom of each post seem like they should be reversed. And getting that to happen is super easy! Just copy this file: themes\PaperMod\layouts\partials\post_nav_links.html to here: layouts\partials\post_nav_links.html and just swap lines 4 and 11. Here’s the diff: --- themes\PaperMod\layouts\partials\post_nav_links.html 2022-07-18 09:47:47.635823100 -0700 +++ layouts\partials\post_nav_links.html 2022-07-18 09:56:20.596032400 -0700 @@ -1,14 +1,14 @@ {{- $pages := where site.RegularPages "Type" "in" site....

18 Jul 2022 · 1 min

Fix OneDrive Crash

All of a sudden OneDrive keeps crashing on my ThinkPad X13s, which is currently running Windows 11 Insider Preview build 22632.1000.0 for ARM64. (Quick side note – I am a total WoA convert. Running Windows on ARM with ARM-specific builds for my usual tools is awesome.) The Event Viewer shows a bunch of these: Application Error 1000 Application Crashing Events Faulting application name: OneDrive.exe, version: 22.136.626.1, time stamp: 0x1dc15164 Faulting module name: Qt5Core....

15 Jul 2022 · 2 min

Tuna

Man, the last time I started posting to a new CMS was from a Sun Microsystems office in 2004. I was hosting MovableType on a second desktop in my bedroom. Also I don’t mean office, like, a building. I had an office. I was an intern! They gave everyone offices there. I thought that was cool as hell. Anyway, Tuna wants to say hi: Yes, we call our dog Tuna. His real name is Henry, but Tuna is just so much more fun to say....

28 Mar 2022 · 1 min