mirror of
https://github.com/rottenwheel/hugo-rottenwheel.git
synced 2024-11-22 20:13:27 +01:00
Merge pull request #3 from kumitterer/main
fix: update link paths to relative URLs in post listings
This commit is contained in:
commit
3acfa76d7c
@ -8,7 +8,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
{{ range where .Site.RegularPages "Section" "posts" }}
|
{{ range where .Site.RegularPages "Section" "posts" }}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ .Permalink }}">{{ .Title }}</a> - {{ .Date.Format "2006-01-02" }}
|
<a href="{{ .RelPermalink }}">{{ .Title }}</a> - {{ .Date.Format "2006-01-02" }}
|
||||||
</li>
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
|
Loading…
Reference in New Issue
Block a user