- {{ .Title }} -
+
+ {{- $regularPages := where .Site.RegularPages "Type" "in" .Site.Params.MainSections -}}
+ {{- $pagesNotHidden := where $regularPages ".Params.hidden" "==" false -}}
+ {{- $pagesHiddenUnset := where $regularPages ".Params.hidden" "==" nil -}}
-
+
+
+
- · {{ .ReadingTime }} min read
-
+ {{- $pages := $pagesNotHidden | union $pagesHiddenUnset -}}
+ {{- $paginator := .Paginate $pages -}}
- {{ if .Description }}
- {{ .Description }}
- {{ else }}
- {{ .Summary }}
- {{ end }}
+ {{ range $paginator.Pages }}
+ + {{ .Title }} +
- {{ if .Truncated }} -
- Read More
-
- {{ end }}
-
+ · {{ .ReadingTime }} min read
+
+
+ {{ if .Description }}
+ {{ .Description }}
+ {{ else }}
+ {{ .Summary }}
+ {{ end }}
+
+ {{ if .Truncated }}
+
+ Read More
+
+ {{ end }}
+
{{- end }}
- {{- end }}
-