diff --git a/themes/buha/i18n/de.toml b/themes/buha/i18n/de.toml index 24e182d..d94cd5b 100644 --- a/themes/buha/i18n/de.toml +++ b/themes/buha/i18n/de.toml @@ -67,6 +67,8 @@ other = "Eintritt" [freeentry] other = "Der Eintritt ist kostenlos." +[donationentry] +other = "Um Spende wird gebeten." [register] other = "Anmeldung" diff --git a/themes/buha/layouts/partials/snippets/article_metadata.html b/themes/buha/layouts/partials/snippets/article_metadata.html index 71f8354..dd57212 100644 --- a/themes/buha/layouts/partials/snippets/article_metadata.html +++ b/themes/buha/layouts/partials/snippets/article_metadata.html @@ -7,6 +7,8 @@ {{ if .price }} {{ if eq .price "free" }}
{{ if i18n "freeentry" }}{{ i18n "freeentry" }}{{ else }}{{ "Free Entry" }}{{ end }}
+ {{ if eq .price "donation" }} +
{{ if i18n "donationentry" }}{{ i18n "donationaentry }}{{ else }}{{ "Voluntary Donation" }}{{ end }}
{{ else }}
{{ if i18n "entry" }}{{ i18n "entry" }}{{ else }}{{ "Entry" }}{{ end }}: {{ .price }}
{{ end }}