portfoligor/layouts/_default/list.html

19 lines
498 B
HTML
Raw Normal View History

{{ define "main" }}
<main class="container">
<header>
<h1>{{.Title}}</h1>
</header>
<!-- "{{.Content}}" pulls from the markdown content of the corresponding _index.md -->
{{.Content}}
<article>
<!-- Ranges through content/posts/*.md -->
{{ range .Pages }}
<article>
<a href="{{.Permalink}}">{{.Title}}</a>
&mdash; {{.Date.Format "2006-01-02"}}
</article>
{{ end }}
</article>
</main>
{{ end }}