{{ define "main" -}}
<nav>
  <p id="return"><a href="/" rel="noreferrer">🔗 Return to homepage</a></p>
</nav>
{{- if .Page.Params.pageinfo }}
<p>{{ partial "pageinfo" . }}</p>{{ end }}
<main>
  <h1 id="{{ .File.TranslationBaseName }}">{{ .Name }}</h1>
  {{ .Content -}}
</main>
{{- end }}