From a7da18afb9c7f989da2b5631c05be8466a02ee04 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Mon, 27 May 2024 18:20:27 -0500 Subject: [PATCH] replace powered_by footer links with slashpages --- config/_default/params.toml | 30 +++++++++--------------------- content/changelog.md | 3 +++ layouts/partials/footer.html | 2 +- static/css/custom.css | 6 +++--- 4 files changed, 16 insertions(+), 25 deletions(-) diff --git a/config/_default/params.toml b/config/_default/params.toml index 4aea9b7..818306d 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -184,29 +184,17 @@ icon = "fa-solid fa-envelope" title = "Email" url = "mailto:jbowdre@omg.lol" -[[powerLinks]] -title = "bunny" -url = "https://bunny.net" +[[slashPages]] +title = "/changelog" +url = "/changelog" -[[powerLinks]] -title = "hugo" -url = "https://gohugo.io" +[[slashPages]] +title = "/colophon" +url = "/colophon" -[[powerLinks]] -title = "neocities" -url = "https://neocities.org/about" - -[[powerLinks]] -title = "risotto" -url = "https://github.com/joeroe/risotto" - -[[powerLinks]] -title = "torchlight" -url = "https://torchlight.dev" - -[[powerLinks]] -title = "tinylytics" -url = "https://tinylytics.app/home" +[[slashPages]] +title = "/homelab" +url = "/homelab" [[verifyLinks]] title = "omg.lol" diff --git a/content/changelog.md b/content/changelog.md index cf79664..4ba862f 100644 --- a/content/changelog.md +++ b/content/changelog.md @@ -7,6 +7,9 @@ featured: false toc: false timeless: true --- +**2024-05-27:** +- Replace "powered by" links with slashpages + **2024-05-26:** - Begin changelog - Simplify logic for displaying kudos and post reply buttons diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index e30e241..055c81d 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,5 +1,5 @@ -

{"powered_by": [{{- range $i, $link := .Site.Params.powerLinks }}{{ if $i }}, {{ end }}"{{ $link.title }}"{{ end }}]} +

diff --git a/static/css/custom.css b/static/css/custom.css index bd42e10..dfd1a63 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -35,18 +35,18 @@ line-height: 1.3rem; } -.powered_by { +.footer_links { font-size: 12px; line-height: 1.1rem; color: var(--muted); } -.powered_by a:link, .powered_by a:visited { +.footer_links a:link, .footer_links a:visited { color: var(--off-fg); text-decoration: none; } -.powered_by a:hover { +.footer_links a:hover { color: var(--hover); text-decoration: underline; }