First section templates render the most recent $n yearly subsections as a list of articles. Descendent sections render just the content of those subsections.
13 lines
304 B
HTML
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>
|