acoeur/themes/acoeur/layouts/index.html

20 lines
533 B
HTML

{{ define "header" }}
{{/* We can override any block in the baseof file be defining it in the template */}}
{{ partial "page-header.html" . }}
{{ end }}
{{ define "main" }}
<article class="cf ph3 ph5-l pv3 pv4-l f4 tc-l center measure-wide lh-copy {{ $.Param "text_color" | default "mid-gray" }}">
{{ .Content }}
</article>
<dl>
{{ range .Sections }}
<dt>
<a href="{{ .RelPermalink }}" class="link grow">{{ .Title }}</a>
</dt>
<dd>{{ add (len .Pages) (len .Resources) }}</dd>
{{ end }}
</dl>
{{ end }}