1
e11sync/blog/themes/default/layouts/_default/list.html

15 lines
422 B
HTML
Raw Normal View History

2024-01-27 16:42:47 +02:00
{{ define "main" -}}
<div>
<h1>{{ .Title }}</h1>
</div>
<ul class="article-list">
{{ range .Paginator.Pages -}}
<li class="article-item">
<div class="article-date">{{ .Date.Format (.Site.Params.dateFormat | default "2006-01-02 15:04") }}</div>
<div class="article-title"><a href="{{ .RelPermalink }}">{{ .Title }}</a></div>
</li>
{{ end -}}
</ul>
{{ template "_internal/pagination.html" . -}}
{{ end -}}