#725 Support Slogan and Display Name Format
Signed-off-by: SIMULATAN <simulatan@noreply.code.forgejo.org>
This commit is contained in:
parent
81ea06c1e0
commit
c6c79b5a9f
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ https
|
||||||
{{- $_ := set $inlines $key (join "\n" $section) -}}
|
{{- $_ := set $inlines $key (join "\n" $section) -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- else }}
|
{{- 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) -}}
|
{{- $generals = append $generals (printf "%s=%s" $key $value) -}}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- (printf "Key %s cannot be on top level of configuration" $key) | fail -}}
|
{{- (printf "Key %s cannot be on top level of configuration" $key) | fail -}}
|
||||||
|
|
Loading…
Reference in a new issue