mirror of
https://github.com/rottenwheel/hugo-rottenwheel.git
synced 2024-11-29 21:33:18 +00:00
Kumi
04bede3d3f
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.
15 lines
No EOL
298 B
HTML
15 lines
No EOL
298 B
HTML
{{ define "main" }}
|
|
|
|
<p>
|
|
RSS feed <a href="/index.xml">here</a>.
|
|
</p>
|
|
|
|
<h2>Latest Posts</h2>
|
|
<ul>
|
|
{{ range where .Site.RegularPages "Section" "posts" }}
|
|
<li>
|
|
<a href="{{ .RelPermalink }}">{{ .Title }}</a> - {{ .Date.Format "2006-01-02" }}
|
|
</li>
|
|
{{ end }}
|
|
</ul>
|
|
{{ end }} |