From 226dd783ac920752b3ad3cb6e6087219a08ca30a Mon Sep 17 00:00:00 2001 From: zhengyi Date: Fri, 1 Dec 2023 20:43:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=80=89=E9=A1=B9=E5=8D=A1=E4=B8=AD?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E8=87=AA=E5=AE=9A=E4=B9=89=E4=BA=91=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E6=8F=90=E4=BE=9B=E5=95=86=EF=BC=8C=E7=BC=BA=E5=B0=91?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Link #138 --- settings.yaml | 8 ++++++++ templates/modules/common/footer.html | 3 +++ 2 files changed, 11 insertions(+) diff --git a/settings.yaml b/settings.yaml index c4baea2..1f28cbd 100644 --- a/settings.yaml +++ b/settings.yaml @@ -2392,6 +2392,7 @@ spec: label: 否 - $formkit: select name: driven_by + id: driven_by label: 云服务提供商 value: "none" help: "配置本站点由xxx云提供云服务" @@ -2414,6 +2415,13 @@ spec: label: 金山云 - value: custom label: 自定义 + - $formkit: code + if: "$get(driven_by).value === 'custom'" + name: driven_custom + label: 自定义提供商 + help: "配置自定义服务提供商,此处可填写html代码" + value: "" + language: html - $formkit: radio name: enable_rss label: 展示 RSS diff --git a/templates/modules/common/footer.html b/templates/modules/common/footer.html index d2af735..1351f0e 100644 --- a/templates/modules/common/footer.html +++ b/templates/modules/common/footer.html @@ -72,6 +72,9 @@ 提供云服务

+ +

+