hugo-code-editor-theme/layouts/_default/list.html

13 lines
408 B
HTML

{{ partial "top.html" . }}
{{ $paginator := .Paginate (where .Data.Pages "Type" "blog") }}
<div class="articles-list">
{{ range $paginator.Pages }}
<article>
<h3><a href="{{ .Permalink }}">{{ .Title }}</a> - {{ dateFormat "01-02-2006 15:04:05" .Date }}</h3>
{{ .Summary }}
</article>
{{ end }}
</div>
{{ template "_internal/pagination.html" . }}
{{ partial "bottom.html" . }}