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"
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"

View file

@ -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

View file

@ -1,5 +1,5 @@
<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>
<!-- Back to Top button via https://github.com/vfeskov/vanilla-back-to-top -->

View file

@ -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;
}