mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
fix(post-chat-ai): correct variable name for upLoadWeb in postChatConfig
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
Called from: layouts/baseof.html.
|
Called from: layouts/baseof.html.
|
||||||
*/ -}}
|
*/ -}}
|
||||||
|
|
||||||
{{- hugo.Store.Set "version" "v1.0.0-alpha-mspj0oak" -}}
|
{{- hugo.Store.Set "version" "v1.0.0-alpha-mszfs8xu" -}}
|
||||||
{{- .Store.Set "this" dict -}}
|
{{- .Store.Set "this" dict -}}
|
||||||
|
|
||||||
{{- partial "init/detection-env.html" . -}}
|
{{- partial "init/detection-env.html" . -}}
|
||||||
|
|||||||
@@ -80,7 +80,7 @@
|
|||||||
{{- with $chatConfig.blackDom -}}
|
{{- with $chatConfig.blackDom -}}
|
||||||
{{- $blackDom = $blackDom | append . -}}
|
{{- $blackDom = $blackDom | append . -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- $upLoadWeb := cond (.IsHome | or $password | or (eq .Kind "404")) false $chatConfig.upLoadWeb -}}
|
{{- $upLoadWeb := cond (.IsHome | or $password | or (eq .Kind "404")) false $chatConfig.uploadWeb -}}
|
||||||
{{- $postChatConfig := dict "upLoadWeb" $upLoadWeb "blackDom" $blackDom | merge $chatConfig -}}
|
{{- $postChatConfig := dict "upLoadWeb" $upLoadWeb "blackDom" $blackDom | merge $chatConfig -}}
|
||||||
{{- $configJS = add $configJS ($postChatConfig | jsonify | printf "var postChatConfig=%s") -}}
|
{{- $configJS = add $configJS ($postChatConfig | jsonify | printf "var postChatConfig=%s") -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|||||||
Reference in New Issue
Block a user