mirror of
https://github.com/rottenwheel/hugo-rottenwheel.git
synced 2024-11-22 20:13:27 +01:00
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:
parent
9feed4349b
commit
04bede3d3f
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user