Merge pull request #3 from kumitterer/main
Some checks failed
Build and Deploy Hugo Site / build (push) Has been cancelled

fix: update link paths to relative URLs in post listings
This commit is contained in:
rottenwheel 2024-07-25 19:31:31 +00:00 committed by GitHub
commit 3acfa76d7c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,7 +8,7 @@
<ul>
{{ range where .Site.RegularPages "Section" "posts" }}
<li>
<a href="{{ .Permalink }}">{{ .Title }}</a> - {{ .Date.Format "2006-01-02" }}
<a href="{{ .RelPermalink }}">{{ .Title }}</a> - {{ .Date.Format "2006-01-02" }}
</li>
{{ end }}
</ul>