Switching to relative links

This commit is contained in:
Brandon Rozek 2025-12-06 13:28:08 -05:00
parent ded609da7d
commit fb67108120
No known key found for this signature in database
GPG key ID: DFB0E78F805F4567
3 changed files with 10 additions and 10 deletions

View file

@ -10,7 +10,7 @@
<ul class="footer-nav">
{{ range .Site.Sections }}
{{ if not .Params.hidden }}
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{ end }}
{{ end }}
</ul>
@ -22,7 +22,7 @@
{{ $sectionPages := where .Site.Pages "Section" "" }}
{{ range $sectionPages }}
{{ if and (not .Params.hidden) (ne .Permalink .Site.BaseURL)}}
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{ end }}
{{ end }}
<li><a href="/support">Support</a></li>