mirror of
https://github.com/rottenwheel/hugo-rottenwheel.git
synced 2024-12-23 00:47:46 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue