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

15 lines
345 B
HTML
Raw Normal View History

{{ 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 "list.html" . -}}
{{ end }}
</ul>
</main>
{{ end }}