portfoligor/layouts/_default/section.html

22 lines
542 B
HTML
Raw Normal View History

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