{{ define "header" }}{{ partial "page-header.html" . }}{{ end }}
{{ define "main" }}

<div class="flex-l mt2">
    <div style="margin: 0 auto;">
        {{ $subpages := (.Site.Taxonomies.tags.project).Pages | lang.Merge (.Sites.First.Taxonomies.tags.project).Pages }}
        {{ range $subpages }}
            {{ partial "collegamento-sottopagina.html" (dict "context" . "subpage" $subpages) }}
        {{ end }}
    </div>
</div>

<div class="flex-l mt2 mw8 center">
    <article class="center cf pv5 ph3 ph4-ns mw7">
        <header>
            <h1 class="f1">
                {{ .Title }}
            </h1>
        </header>
        <div class="nested-copy-line-height lh-copy f4 nested-links {{ $.Param "text_color" | default "mid-gray" }}">
        {{ .Content }}
      </div>
    </article>
  </div>
{{ end }}