Files
website/hugo/layouts/partials/methode-fuer-variante.html
T
tobias 5e9da58d23 Vorlage fuer eigene Ableger-Installationen: Website + CMS-Code
Bereinigt von Pilot-Spezifika (echte Inhalte, Erzbistum-Hamburg-Bezuege,
Domain-Werte) - install.env und hugo.toml [params] mit generischen
Platzhaltern. docs/ komplett entfernt: Konzept, Manifest, Installations-
anleitungen leben jetzt auf der Projekt-Website statt redundant im Repo,
README verweist dorthin. Decap-CMS-Version von einer floatenden ^3.0.0
auf ein festes 3.15.1 gepinnt.
2026-08-23 14:37:54 +02:00

8 lines
508 B
HTML

{{/* Returns the method page belonging to the variant (or nil, if none is
found - should practically never happen due to Regel 1 in
scripts/validate.rb). Called with the respective variant as context.
Linked via Params.kennung, not via Params.titel or the filename/slug,
see admin/config.template.yml and the Manifest chapter on the project website. */}}
{{ $matches := where site.RegularPages "Params.kennung" .Params.methode }}
{{ if $matches }}{{ return (index $matches 0) }}{{ end }}