2020-08-24 01:48:03 -05:00
|
|
|
{{ define "main" }}
|
|
|
|
|
|
|
|
{{/* get all the pages that are regular posts and not pages */}}
|
2021-01-03 07:06:59 -06:00
|
|
|
{{ $postsDir := .Site.Params.Posts | default (slice "posts" "post") }}
|
2021-06-12 08:07:39 -05:00
|
|
|
{{ $allPostsList := where site.RegularPages "Section" "in" $postsDir }}
|
2021-07-06 13:19:13 -05:00
|
|
|
{{- partial "showcase.html" . -}}
|
2021-06-12 08:07:39 -05:00
|
|
|
{{- partial "home_post_list.html" (dict "Ctx" . "AllPostsList" $allPostsList) -}}
|
2020-08-24 01:48:03 -05:00
|
|
|
|
|
|
|
{{ end }}
|