12 lines
372 B
HTML
12 lines
372 B
HTML
|
<h1>{{ .Title }}</h1>
|
||
|
{{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }}
|
||
|
{{ range $pages.ByPublishDate.Reverse }}
|
||
|
<h2 class="post-list {{ if ne .Params.show_summary false }}summary{{ end }}">
|
||
|
<a href="{{ .RelPermalink }}">
|
||
|
{{ .Title }}
|
||
|
</a>
|
||
|
</h2>
|
||
|
{{ if ne .Params.show_summary false }}
|
||
|
{{ .Summary }}
|
||
|
{{ end }}
|
||
|
{{ end }}
|