23 lines
548 B
HTML
23 lines
548 B
HTML
{{ define "main" }}
|
|
<header>
|
|
<h1>{{.Title}}</h1>
|
|
</header>
|
|
<!-- "{{.Content}}" pulls from the markdown content of the corresponding _index.md -->
|
|
{{.Content }}
|
|
{{ range .Pages }}
|
|
<article>
|
|
<a href="{{ .Permalink }}">
|
|
{{.Title}}
|
|
</a>
|
|
— {{ .PublishDate.Format "2006-01-02" }}
|
|
{{ with .Params.categories }}
|
|
{{ range . }}
|
|
— <a href="{{ "categories" | absURL}}/{{ . | urlize }}">{{ . }}</a>
|
|
{{ end }}
|
|
{{ end }}
|
|
</article>
|
|
{{ end }}
|
|
</ul>
|
|
{{ end }}
|
|
|