portfoligor/layouts/_default/list.html

19 lines
507 B
HTML

{{ define "main" }}
<main class="container">
<header>
<h1>{{.Title}}</h1>
</header>
<!-- "{{.Content}}" pulls from the markdown content of the corresponding _index.md -->
{{.Content}}
<article class="posts-list">
<!-- Ranges through content/posts/*.md -->
{{ range .Pages }}
<article>
<a href="{{.Permalink}}">{{.Title}}</a>
{{ partial "lists-footer.html" . }}
</article>
{{ end }}
</article>
</main>
{{ end }}