{{ define "main" }} {{/* Linked via Params.kennung, not via Params.titel or the folder name/slug, see hugo/layouts/_default/single.html and admin/config.template.yml. The steckbrief box and "Diese Variante" are the same partials as on the method page (case: exactly one variant) - see the project website (background/analysis notes) Teil 2.3. */}} {{ $variante := . }} {{ $methode := partial "methode-fuer-variante.html" . }}
{{ with $methode }}

← {{ .Params.titel | default .Title }}

{{ end }}

{{ with $methode }}{{ .Params.titel | default .Title }} – {{ end }}{{ $variante.Params.untertitel }}

{{ with index hugo.Data.varianten $.File.ContentBaseName }}

Erstellt: {{ .erstellt | time.AsTime | dateFormat "02.01.2006" }}

Zuletzt geändert: {{ .geaendert | time.AsTime | dateFormat "02.01.2006" }}

{{ end }}
{{ with $methode }} {{ partial "steckbrief-box.html" (dict "methode" . "zeigeKurzbeschreibung" true "zeigeLink" true) }} {{ end }} {{ partial "diese-variante.html" $variante }}
{{ $variante.Content }}
{{ partial "attachments.html" $variante }} {{ with $methode }} {{ $andere := where (partial "varianten-fuer-methode.html" .) "Params.kennung" "ne" $variante.Params.kennung }} {{ with $andere }}

Andere Varianten dieser Methode

{{ range . }}{{ partial "variante-card.html" . }}{{ end }}
{{ end }} {{ end }}
{{ end }}