website/layouts/_default/list.html

9 lines
310 B
HTML
Raw Permalink Normal View History

2020-08-24 01:48:03 -05:00
{{ define "main" }}
{{ 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 }}