blog/themes/ficurinia/layouts/_default/list.html

9 lines
310 B
HTML
Raw Normal View History

2023-04-29 14:12:36 +00: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 }}
{{ end }}