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.
This commit is contained in:
2026-08-23 14:37:54 +02:00
commit 5e9da58d23
65 changed files with 5073 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
{{/* Served under "<method-url>index.md" (see [outputFormats.MethodenSetMd]
and the second cascade rule in hugo/hugo.toml), for the methoden-set
tool (methoden-set/, see the Methoden-Set chapter on the project website). Same "one variant ->
embed" logic as _default/single.html (see there): if the method has
exactly one variant, this URL returns exactly the same document as
the variant URL itself (partials/methoden-set-dokument.html) - methods
with only one variant otherwise have no URL usable via the tool,
because the HTML page embeds the variant text directly, without
showing a visible link to the actual variant URL. With 0 or several
variants, a short notice document instead of a generic 404 in the
tool - see its error messages in methoden-set/app.js. */}}
{{- $methode := . -}}
{{- $varianten := partial "varianten-fuer-methode.html" . -}}
{{- if eq (len $varianten) 1 -}}
{{- partial "methoden-set-dokument.html" (index $varianten 0) -}}
{{- else -}}
---
titel: {{ (.Params.titel | default .Title) | jsonify }}
quelle: {{ .Permalink | jsonify }}
fehler: {{ if gt (len $varianten) 1 }}"mehrere_varianten"{{ else }}"keine_variante"{{ end }}
---
{{ if gt (len $varianten) 1 -}}
Diese Methode hat mehrere Varianten. Bitte auf der Methoden-Seite die gewünschte Variante öffnen und deren eigenen Link einfügen.
{{- else -}}
Diese Methode hat noch keine veröffentlichte Variante.
{{- end }}
{{- end -}}