{{ define "main" }}
  {{ partial "gallery.html" . }}
  {{ partial "related.html" . }}
  {{ with .Content }}
    <section class="prose">
      {{ . }}
    </section>
  {{ end }}
  <div class="gallery-back">
    <a href="{{ .Site.Home.RelPermalink }}" class="gallery-back-link">
      <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
        <path d="M19 12H5M5 12l7 7M5 12l7-7"/>
      </svg>
      Zurück zur Startseite
    </a>
  </div>
{{ end }}
