#725 Support Slogan and Display Name Format

Signed-off-by: SIMULATAN <simulatan@noreply.code.forgejo.org>
This commit is contained in:
SIMULATAN 2024-08-09 21:42:16 +00:00
parent b7e64bc4c6
commit 72f21e8e8d

View file

@ -216,7 +216,7 @@ https
{{- $_ := set $inlines $key (join "\n" $section) -}}
{{- end -}}
{{- else }}
{{- if or (eq $key "APP_NAME") (eq $key "RUN_USER") (eq $key "RUN_MODE") -}}
{{- if or (eq $key "APP_NAME") (eq $key "RUN_USER") (eq $key "RUN_MODE") (eq $key "APP_SLOGAN") (eq $key "APP_DISPLAY_NAME_FORMAT") -}}
{{- $generals = append $generals (printf "%s=%s" $key $value) -}}
{{- else -}}
{{- (printf "Key %s cannot be on top level of configuration" $key) | fail -}}