fix: update link paths to relative URLs in post listings

Switched from absolute to relative permalinks to ensure more flexible navigation and better support for different environments (clearnet/.onion). This change prevents broken links in environments where the site domain may differ.
This commit is contained in:
Kumi 2024-07-25 21:14:13 +02:00
parent 9feed4349b
commit 04bede3d3f
Signed by: kumi
GPG key ID: ECBCC9082395383F

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>