{{ define "main" }}
  <article class="cf pa3 pa4-m pa4-l">
    <div class="measure-wide-l center f4 lh-copy nested-copy-line-height nested-links nested-img mid-gray">
      {{ .Content }}
    </div>
  </article>
  <div class="mw8 center">
    {{ range $taxonomyname, $taxonomy := .Site.Taxonomies }}
      <h1>
        {{ $taxonomyname | humanize }}
      </h1>

      <section class="ph4">
        {{ range $key, $value := $taxonomy }}
          <h2 class="f1">
            <a href="{{ $key | urlize }}" class="link blue hover-black">
              {{ $key }}
            </a>
          </h2>
          {{ range $value.Pages }}
            {{ partial "summary.html" . }}
          {{ end }}
        {{ end }}
      </section>

    {{ end }}

  </div>
{{ end }}
