{{ define "main" }} <h1> {{ with .Params.icon }}{{ partial "icon.html" . }}{{ end }} {{ .Title | markdownify }} {{ partial "rss-link.html" . }} </h1> <div class="list-page-content"> {{ with .Sections }} <div class="sections"> {{ range . }} {{ .Render "summary/section" }} {{ end }} </div> {{ end }} <div class="page-list"> {{ with .Paginator.Pages }} <ul> {{ range . }} <li>{{ .Render "summary/post" }}</li> {{ end }} </ul> {{ else }} <div> {{ i18n "no_posts" }} </div> {{ end }} </div> </div> {{ partial "pagination.html" . }} {{ end }}