portfoligor/layouts/_default/section.html

23 lines
558 B
HTML
Raw Normal View History

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