From 9c75705dab1e5a1fcfeedf810ea75928e7ddd758 Mon Sep 17 00:00:00 2001 From: Neil Hanlon Date: Sun, 12 Jul 2026 13:34:15 -0400 Subject: [PATCH] Fix homepage accuracy, add ko-fi link, restore gist shortcode - Drop stale 'Rocky Linux' now-card; add Fedora/RISC-V in its place - Update hero contact handle @NeilHanlon -> @shrug.pw (bsky) - Add static ko-fi footer link (no overlay/popup) - Local gist shortcode to replace deprecated built-in --- content/_index.md | 4 ++-- hugo.toml | 6 +++--- layouts/partials/footer.html | 1 + layouts/shortcodes/gist.html | 10 ++++++++++ 4 files changed, 16 insertions(+), 5 deletions(-) create mode 100644 layouts/shortcodes/gist.html diff --git a/content/_index.md b/content/_index.md index 23171b6..f46be35 100644 --- a/content/_index.md +++ b/content/_index.md @@ -11,13 +11,13 @@ For more check out my academic & professional [resume]. I'm also available for [consulting]. -Contact me at [@NeilHanlon] or by yelling really really loud. +Contact me at [@shrug.pw] or by yelling really really loud. [projects]: /projects [resume]: https://shrug.pw/resume.pdf -[@NeilHanlon]: https://bsky.app/profile/shrug.pw +[@shrug.pw]: https://bsky.app/profile/shrug.pw [instagram]: https://instagram.com/noellathekitty [consulting]: https://shrugpw.com diff --git a/hugo.toml b/hugo.toml index 1f0de23..67e8cb3 100755 --- a/hugo.toml +++ b/hugo.toml @@ -15,12 +15,12 @@ enableRobotsTXT = true [[params.now]] title = "Consulting" body = "Infrastructure for growing tech companies via shrugpw.com — compliance, migrations, networks done right." - [[params.now]] - title = "Rocky Linux" - body = "Still building and maintaining the infrastructure. Open source is the good part of this whole thing." [[params.now]] title = "The homelab" body = "FreeIPA, FreeRADIUS, an SSID with a potato in the name, and far too many little agents writing to a database." + [[params.now]] + title = "Fedora / RISC-V" + body = "Packaging, build systems, and a standing campaign to get more of Fedora booting on RISC-V hardware that mostly doesn't want to. Open source is the good part of this whole thing." [params.social] Github = "NeilHanlon" diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 507d714..8e3087f 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -10,6 +10,7 @@ {{- with .Site.Params.social.bluesky }}bluesky{{ end }} {{- with .OutputFormats.Get "rss" }}rss{{ end }} consulting + ko-fi diff --git a/layouts/shortcodes/gist.html b/layouts/shortcodes/gist.html new file mode 100644 index 0000000..42d81e4 --- /dev/null +++ b/layouts/shortcodes/gist.html @@ -0,0 +1,10 @@ +{{- /* + Local replacement for Hugo's built-in `gist` shortcode, which was + deprecated in v0.143.0. Same call signature: + + {{< gist USERNAME GIST_ID [FILE] >}} + + Embeds a GitHub gist via its JS include. The optional third argument + scopes the embed to a single file within the gist. +*/ -}} +