{{/* This will override the default value set in baseof.html; i.e., "{{.Site.Title}}" in the original example */}} {{ define "title" }} {{ .Title }} – {{ .Site.Title }} {{ end }} {{ define "content-header" }} <h1> <span class="p-name">{{ .Title }}</span> <a rel="alternate" type="application/rss+xml" href="index.xml"><i class="fa fa-rss"></i></a> </h1> {{ end }} {{ define "content" }} {{ if .Content }} <div class="list-content e-content"> {{ .Content }} </div> {{ end }} {{ range $index, $page := (.Paginate (where .Pages ".Params.hidden" "!=" "true")).Pages }} {{ if ne $index 0 }} {{ end }} {{ .Render "summary" }} {{ end }} {{ end }} {{ define "content-footer" }} {{ partial "paginator.html" .Paginator }} {{ end }}