27 lines
776 B
HTML
27 lines
776 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 class="links">
|
|
{{ range .Sections }}
|
|
<dt class="{{ .Section }}">
|
|
<a href="{{ .RelPermalink }}" class="link grow">{{ .Title }}</a>
|
|
</dt>
|
|
<dd class="{{ .Section }}">{{ add (len .Pages) (len .Resources) }}</dd>
|
|
{{ end }}
|
|
|
|
{{ with site.GetPage "groups" }}
|
|
<dt>
|
|
<a href="{{ .RelPermalink }}" class="link grow">{{ .Title }}</a>
|
|
</dt>
|
|
<dd>{{ len site.Taxonomies.groups }}</dd>
|
|
{{ end }}
|
|
</dl>
|
|
{{ end }}
|