{{ partial "content" . }}
{{ if isset .Site.Params "best_posts" }}
📌 {{ i18n "pinned" }}
-
{{ range .Site.Params.best_posts }}
- {{ .title }} {{ end }}
{{ $nbPosts := len (where .Data.Pages "Section" "blog") }}
{{ if gt $nbPosts 0 }}
{{ end }}
Latest posts
-
{{ range (first .Site.Params.latestpostcount (where .Pages "Section" "blog")).GroupByDate "Jan, 2006" "desc" }}
- {{ .Key }} {{ range sort .Pages "Date" "desc" }} {{ partial "list" . }} {{ end }} {{ end }}