replace powered_by footer links with slashpages

This commit is contained in:
John Bowdre 2024-05-27 18:20:27 -05:00
parent c0b491bd33
commit a7da18afb9
4 changed files with 16 additions and 25 deletions

View file

@ -184,29 +184,17 @@ icon = "fa-solid fa-envelope"
title = "Email" title = "Email"
url = "mailto:jbowdre@omg.lol" url = "mailto:jbowdre@omg.lol"
[[powerLinks]] [[slashPages]]
title = "bunny" title = "/changelog"
url = "https://bunny.net" url = "/changelog"
[[powerLinks]] [[slashPages]]
title = "hugo" title = "/colophon"
url = "https://gohugo.io" url = "/colophon"
[[powerLinks]] [[slashPages]]
title = "neocities" title = "/homelab"
url = "https://neocities.org/about" url = "/homelab"
[[powerLinks]]
title = "risotto"
url = "https://github.com/joeroe/risotto"
[[powerLinks]]
title = "torchlight"
url = "https://torchlight.dev"
[[powerLinks]]
title = "tinylytics"
url = "https://tinylytics.app/home"
[[verifyLinks]] [[verifyLinks]]
title = "omg.lol" title = "omg.lol"

View file

@ -7,6 +7,9 @@ featured: false
toc: false toc: false
timeless: true timeless: true
--- ---
**2024-05-27:**
- Replace "powered by" links with slashpages
**2024-05-26:** **2024-05-26:**
- Begin changelog - Begin changelog
- Simplify logic for displaying kudos and post reply buttons - Simplify logic for displaying kudos and post reply buttons

View file

@ -1,5 +1,5 @@
<p class="copyright">{{ .Site.Copyright | markdownify }}</p> <p class="copyright">{{ .Site.Copyright | markdownify }}</p>
<p class="powered_by">{"powered_by": [{{- range $i, $link := .Site.Params.powerLinks }}{{ if $i }}, {{ end }}&quot;<a target="_blank" href="{{ $link.url }}">{{ $link.title }}</a>&quot;{{ end }}]} <p class="footer_links">{"<a href="https://slashpages.net/">slashpages</a>": [{{- range $i, $link := .Site.Params.slashPages }}{{ if $i }}, {{ end }}&quot;<a href="{{ $link.url }}">{{ $link.title }}</a>&quot;{{ end }}]}
<br>&lt;<a target="_blank" href="https://github.com/jbowdre/runtimeterror">view source</a>&gt;</p> <br>&lt;<a target="_blank" href="https://github.com/jbowdre/runtimeterror">view source</a>&gt;</p>
<!-- Back to Top button via https://github.com/vfeskov/vanilla-back-to-top --> <!-- Back to Top button via https://github.com/vfeskov/vanilla-back-to-top -->

View file

@ -35,18 +35,18 @@
line-height: 1.3rem; line-height: 1.3rem;
} }
.powered_by { .footer_links {
font-size: 12px; font-size: 12px;
line-height: 1.1rem; line-height: 1.1rem;
color: var(--muted); color: var(--muted);
} }
.powered_by a:link, .powered_by a:visited { .footer_links a:link, .footer_links a:visited {
color: var(--off-fg); color: var(--off-fg);
text-decoration: none; text-decoration: none;
} }
.powered_by a:hover { .footer_links a:hover {
color: var(--hover); color: var(--hover);
text-decoration: underline; text-decoration: underline;
} }