diff --git a/layouts/partials/init/index.html b/layouts/partials/init/index.html index 55a42ecf..c95ed9a8 100644 --- a/layouts/partials/init/index.html +++ b/layouts/partials/init/index.html @@ -1,4 +1,4 @@ -{{- .Scratch.Set "version" "v0.3.17-036cbb41" -}} +{{- .Scratch.Set "version" "v0.3.17-d3cb08f5" -}} {{- .Scratch.Set "this" dict -}} {{- partial "init/detection-env.html" . -}} diff --git a/layouts/partials/plugin/post-chat-ai.html b/layouts/partials/plugin/post-chat-ai.html index 9307054b..04ae36e6 100644 --- a/layouts/partials/plugin/post-chat-ai.html +++ b/layouts/partials/plugin/post-chat-ai.html @@ -70,7 +70,7 @@ {{- with $chatConfig.blackDom -}} {{- $blackDom = $blackDom | append . -}} {{- end -}} - {{- $upLoadWeb := cond (.IsHome | or $password) false $chatConfig.upLoadWeb -}} + {{- $upLoadWeb := cond (.IsHome | or $password | or (eq .Kind "404")) false $chatConfig.upLoadWeb -}} {{- $postChatConfig := dict "userMode" $chatConfig.userMode "defaultInput" $chatConfig.defaultInput