7
0
Fork 0

Sorteren van nieuws op datum

This commit is contained in:
Michael Boelen 2023-10-02 21:54:17 +02:00
parent 7daea98395
commit 5e548f57f5

View file

@ -0,0 +1,13 @@
{{ define "main" }}
<section>
<ul class="list">
{{ range .Pages.ByDate.Reverse }}
<li>
<a class="link" href="{{ .RelPermalink }}">{{ .Title }}</a>
<hr class="hr-list">
<time class="g time" datetime="{{ dateFormat "2006-01-02" .Date }}">{{ dateFormat "02-01-2006" .Date }}</time>
</li>
{{ end }}
</ul>
</section>
{{ end }}