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