{{ define "main" }} {{ partial "article-meta.html" . }} {{ if .Params.toc }} {{ .TableOfContents }} {{ end }} <div class="content-wrapper"> <main> {{ .Content }} {{ if gt (len .Data.Pages) 0 }} <h2>Devlogs:</h2> <section class="article-list"> {{ range .Data.Pages }} {{ partial "article-card.html" . }} {{ end }} </section> {{ end }} <a href="/"> >> Home</a> </main> </div> {{ end }}