2020-08-24 01:48:03 -05:00
|
|
|
{{ define "main" }}
|
2021-06-12 08:07:39 -05:00
|
|
|
{{ if in (site.Params.extraContentDirs | default (slice)) .Section }}
|
|
|
|
<h1>{{ .Section | humanize }}</h1>
|
|
|
|
{{- partial "home_post_list.html" (dict "Ctx" . "AllPostsList" .Pages) -}}
|
|
|
|
{{ else }}
|
|
|
|
{{- partial "simple_posts_list.html" . -}}
|
|
|
|
{{ end }}
|
2020-08-24 01:48:03 -05:00
|
|
|
{{ end }}
|