blog/themes/chosto/layouts/posts/list.html

16 lines
389 B
HTML

{{ define "main" }}
<main>
<article>
<!-- "{{.Content}}" pulls from the markdown content of the corresponding _index.md -->
{{ .Content }}
</article>
<ul>
<!-- Ranges through content/posts/*.md -->
{{ range .Site.RegularPages }}
{{- partial "listitem.html" . -}}
{{ end }}
</ul>
{{- partial "pagination.html" . -}}
</main>
{{ end }}