fix: update link paths to relative URLs in post listings
Some checks failed
Build and Deploy Hugo Site / build (push) Has been cancelled
Some checks failed
Build and Deploy Hugo Site / build (push) Has been cancelled
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