{{/* 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 }}