forked from laurens/fediversity_website
Sorteren van nieuws op datum
This commit is contained in:
parent
7daea98395
commit
5e548f57f5
13
themes/nluug/layouts/nieuws/list.html
Normal file
13
themes/nluug/layouts/nieuws/list.html
Normal 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 }}
|
Reference in a new issue