slashpage formatting tweaks

This commit is contained in:
John Bowdre 2024-05-27 19:20:54 -05:00
parent 84ef5f26d6
commit 78ce8c9a10
2 changed files with 4 additions and 1 deletions

View file

@ -187,14 +187,17 @@ url = "mailto:jbowdre@omg.lol"
[[slashPages]] [[slashPages]]
title = "/changelog" title = "/changelog"
url = "/changelog" url = "/changelog"
label = "recent changes to the site"
[[slashPages]] [[slashPages]]
title = "/colophon" title = "/colophon"
url = "/colophon" url = "/colophon"
label = "how this site works"
[[slashPages]] [[slashPages]]
title = "/homelab" title = "/homelab"
url = "/homelab" url = "/homelab"
label = "my homelab setup"
[[verifyLinks]] [[verifyLinks]]
title = "omg.lol" title = "omg.lol"

View file

@ -1,5 +1,5 @@
<p class="copyright">{{ .Site.Copyright | markdownify }}</p> <p class="copyright">{{ .Site.Copyright | markdownify }}</p>
<p class="footer_links">{"<a href="https://slashpages.net/" target="_blank">slashpages</a>": [{{- range $i, $link := .Site.Params.slashPages }}{{ if $i }}, {{ end }}&quot;<a href="{{ $link.url }}">{{ $link.title }}</a>&quot;{{ end }}]} <p class="footer_links">{"<a href="https://slashpages.net/" title="what's a slashpage?" target="_blank">slashpages</a>": [{{- range $i, $link := .Site.Params.slashPages }}{{ if $i }}, {{ end }}&quot;<a href="{{ $link.url }}" title="{{ $link.label }}">{{ $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 -->