11 lines
358 B
HTML
11 lines
358 B
HTML
|
|
{{ define "main" }}
|
|
{{ .Content }}
|
|
{{ $postsDir := .Site.Params.Posts | default (slice "posts" "post") }}
|
|
{{ $allPostsList := where (where site.RegularPages "Section" "in" $postsDir) "Section" "!=" "" }}
|
|
{{ range $allPostsList }}
|
|
<h2><a class="title" href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
|
|
{{ .Summary }}
|
|
{{ end }}
|
|
{{ end }}
|