From 995df8d928fcf79f94081e3b926332945d0773a5 Mon Sep 17 00:00:00 2001 From: j m <1406993111@qq.com> Date: Sun, 10 Nov 2024 09:30:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20=E8=87=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E5=86=85=E5=AE=B9=20=E9=85=8D=E7=BD=AE=E9=A1=B9?= =?UTF-8?q?=EF=BC=8C=E6=98=BE=E7=A4=BA=E5=9C=A8=E9=A1=B5=E8=84=9A=E7=9A=84?= =?UTF-8?q?=E5=BB=BA=E7=AB=99=E6=97=B6=E9=97=B4=E4=B8=8A=E6=96=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- settings.yaml | 5 +++++ templates/common/footer.html | 1 + 2 files changed, 6 insertions(+) diff --git a/settings.yaml b/settings.yaml index e6abfef..f728ec9 100644 --- a/settings.yaml +++ b/settings.yaml @@ -46,6 +46,11 @@ spec: name: record_number_ps label: 公安部备案 placeholder: 'X公网安备 XXXXXXXXXXXXXX号' + - $formkit: text + name: custom_text + label: 自定义内容 + placeholder: '自定义内容' + help: '在网站页脚建站时间上方显示自定义内容。' - $formkit: datetime-local name: website_time label: 建站时间 diff --git a/templates/common/footer.html b/templates/common/footer.html index dcb44eb..2e1cc42 100644 --- a/templates/common/footer.html +++ b/templates/common/footer.html @@ -21,6 +21,7 @@ th:src="${#theme.assets('/img/ba.webp')}" height="auto" width="auto" alt="备案" style="vertical-align: text-top; width: 1.2em; margin-right: 4px;"/>[[${theme.config.basic_info.record_number}]] 公网安备[[${theme.config.basic_info.record_number_ps}]]

+

[[${theme.config.basic_info.custom_text}]]

建站00000