fix: Don't know if not being called as its a warning

but when called causes a clash acusing a missing quote
changes the quotes and did it into two lines as it originally was more than 100 char long
I don't speak Chinese so please check for any error as I just copy and pasted this portion of the string
This commit is contained in:
Diogo Gaspar 2024-11-01 15:54:31 -03:00
parent 6d219dee70
commit c9993b205c

View file

@ -22,7 +22,8 @@
{{- .Scratch.Set "comment" dict -}}
{{- end -}}
{{- else if eq .Site .Sites.First -}}
{{- warnf "\n\nCurrent environment is \"development\". The \"comment system\", \"CDN\" and \"fingerprint\" will be disabled.\n当前运行环境是 \"development\". \"评论系统\", \"CDN\" 和 \"fingerprint\" 不会启用.\n" -}}
{{- warnf "Current environment is \"development\". The \"comment system\", \"CDN\" and \"fingerprint\" will be disabled." -}}
{{- warnf "当前运行环境是 \"development\". \"评论系统\", \"CDN\" 和 \"fingerprint\" 不会启用." -}}
{{- end -}}
{{- .Scratch.Set "params" $params -}}