{{ define "main" }} {{ partial "article-meta.html" . }} {{ if .Params.toc }} {{ .TableOfContents }} {{ end }} {{ .Content }} {{ if gt (len .Data.Pages) 0 }} Devlogs: {{ range .Data.Pages }} {{ partial "article-card.html" . }} {{ end }} {{ end }} {{ end }}