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

13 lines
408 B
HTML
Raw Normal View History

{{ 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 "2006-01-02 15:04:05" .Date }}</h3>
{{ .Summary }}
</article>
{{ end }}
</div>
{{ template "_internal/pagination.html" . }}
{{ partial "bottom.html" . }}