From 6bc91878546df6eeabea73af4ac378916231bee1 Mon Sep 17 00:00:00 2001 From: Nathan Upchurch Date: Sat, 8 Aug 2026 23:37:44 -0500 Subject: [PATCH] Add badge collection page --- _data/badges.js | 12 +++++++++++- content/badges/index.njk | 14 ++++++++++++++ content/changelog/index.md | 3 +++ content/sitemap/index.md | 1 + public/css/index.css | 9 +++++++++ 5 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 content/badges/index.njk diff --git a/_data/badges.js b/_data/badges.js index a6c314b..e05ceb3 100644 --- a/_data/badges.js +++ b/_data/badges.js @@ -109,10 +109,12 @@ export default { { altText: "Defective by design. Eliminate DRM now!", imageURL: "dbd.2333814563.webp", + linkURL: "https://www.defectivebydesign.org/", }, { altText: "Don't feed the AI!", imageURL: "dontfeedai.gif", + linkURL: "/ai/", }, { altText: "A seal with the word ‘dream’ appearing beside it.", @@ -130,14 +132,17 @@ export default { { altText: "Take back the web. Firefox logo.", imageURL: "fftake.gif", + linkURL: "https://www.firefox.com/en-US/", }, { altText: "Firefox", imageURL: "firefox3.gif", + linkURL: "https://www.firefox.com/en-US/", }, { altText: "Tested on Firefox.", imageURL: "firefox4.gif", + linkURL: "https://www.firefox.com/en-US/", }, { altText: "Game Boy logo", @@ -163,6 +168,7 @@ export default { { altText: "GLPV3", imageURL: "gplv3.gif", + linkURL: "https://www.gnu.org/licenses/gpl-3.0.en.html", }, { altText: "There are no bad hair days on the internet.", @@ -173,16 +179,19 @@ export default { imageURL: "hatemac_b.gif", }, { - altText: "Hyenas now!", + altText: "Internet Archive", imageURL: "internetarchive.2540748731.png", + linkURL: "https://archive.org/", }, { altText: "Jellyfin", imageURL: "jellyfin.gif", + linkURL: "https://jellyfin.org/", }, { altText: "KDE now!", imageURL: "knbutton.gif", + linkURL: "https://kde.org/", }, { altText: "Linux now! 2.0", @@ -228,6 +237,7 @@ export default { { altText: "Tor logo", imageURL: "tor.gif", + linkURL: "https://www.torproject.org/", }, { altText: "Trans rights now!", diff --git a/content/badges/index.njk b/content/badges/index.njk new file mode 100644 index 0000000..ae35477 --- /dev/null +++ b/content/badges/index.njk @@ -0,0 +1,14 @@ +--- +layout: layouts/base.njk +title: Nathan Upchurch | Blank +structuredData: none +--- +
+

Badge collection

+

Here are some badges I picked up around the web. If you see your badge here and would like a link attached, let me know!

+
+ {% for badge in badges.badges %} + {% if badge.linkURL %}{% endif %}{{ badge.altText }}{% if badge.linkURL %}{% endif %} + {% endfor %} +
+
diff --git a/content/changelog/index.md b/content/changelog/index.md index e3cae39..d45b2fe 100644 --- a/content/changelog/index.md +++ b/content/changelog/index.md @@ -7,6 +7,9 @@ includeTOC: true --- ## 2026 ### August +* 2026-08-08 + * Updated [/wish](/wish). + * Implemented [/badges](/badges). * 2026-08-06 * Updated [/links](/links). * 2026-08-05 diff --git a/content/sitemap/index.md b/content/sitemap/index.md index ba3ae17..92dccad 100644 --- a/content/sitemap/index.md +++ b/content/sitemap/index.md @@ -11,6 +11,7 @@ structuredData: none * [AI](/ai) * [Colophon](/about/colophon) * [Privacy](/about/privacy) +* [Badge Collection](/badges) * [Blank](/blank) * [Blog](/blog) * [Feed](/feed/feed.xml) diff --git a/public/css/index.css b/public/css/index.css index 8baa9db..1b145f5 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -631,6 +631,15 @@ hr { width: 100%; } +/* Badges */ +.badges { + & img { + height: 100%; + margin-bottom: var(--space-2xs); + margin-right: var(--space-2xs); + } +} + /* Header */ header { container-type: inline-size;