From b1b1984608a24b50f474be17091ca72301814fa5 Mon Sep 17 00:00:00 2001 From: teldra Date: Sun, 10 Apr 2022 11:30:54 +0200 Subject: [PATCH] small fixes --- content/tools/generator.de.md | 2 ++ themes/buha/layouts/partials/layout/generator.html | 2 +- themes/buha/layouts/partials/layout/generator/form.html | 2 +- themes/buha/layouts/partials/snippets/footer.html | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/content/tools/generator.de.md b/content/tools/generator.de.md index 7b2a04c0..83943bf1 100644 --- a/content/tools/generator.de.md +++ b/content/tools/generator.de.md @@ -22,6 +22,7 @@ forms: name: "Kategorien" expanded: true new: "Neue Kategorien" + help: "gerne Plural" - title: when group: events input_type: text @@ -40,6 +41,7 @@ forms: name: "Eventkategorien" expanded: false new: "Neue Events" + help: "gerne Plural" - title: covid group: misc input_type: text diff --git a/themes/buha/layouts/partials/layout/generator.html b/themes/buha/layouts/partials/layout/generator.html index 78fcaa38..3e835d2d 100644 --- a/themes/buha/layouts/partials/layout/generator.html +++ b/themes/buha/layouts/partials/layout/generator.html @@ -5,7 +5,7 @@
-{{ .Content }} +{{ .context.Content }}
{{ if (index .context.Params.forms 0) }} diff --git a/themes/buha/layouts/partials/layout/generator/form.html b/themes/buha/layouts/partials/layout/generator/form.html index 263b2099..92cf0823 100644 --- a/themes/buha/layouts/partials/layout/generator/form.html +++ b/themes/buha/layouts/partials/layout/generator/form.html @@ -86,7 +86,7 @@ {{ end }} {{ if .new }} - + {{ end }} diff --git a/themes/buha/layouts/partials/snippets/footer.html b/themes/buha/layouts/partials/snippets/footer.html index 17c107c1..75f4faed 100644 --- a/themes/buha/layouts/partials/snippets/footer.html +++ b/themes/buha/layouts/partials/snippets/footer.html @@ -25,6 +25,7 @@ {{- $newsletter | strings.FirstUpper -}}

{{- end -}} Misc

+ Tools