hugo-theme-termlite/layouts/partials/page/descendent_section.list.html
Eryn Wells 59ff58e159 Break section template into first and descendent sections
First section templates render the most recent $n yearly subsections as a list of
articles.

Descendent sections render just the content of those subsections.
2024-10-23 11:17:30 -07:00

13 lines
304 B
HTML

<main class="main--list">
<header class="page-header">
{{ partial "page_header.html" (dict "page" .) }}
</header>
{{- .Content -}}
{{ range .RegularPages.ByPublishDate -}}
{{ if or (not .Draft) hugo.IsDevelopment -}}
{{ .Render "page_summary" }}
{{ end }}
{{ end }}
</main>