移除 隐藏页脚主题信息 配置项

This commit is contained in:
j m 2024-12-25 20:25:55 +08:00
parent 1fa9c7977a
commit b09e9387c1
2 changed files with 1 additions and 13 deletions

View File

@ -85,16 +85,6 @@ spec:
value: false value: false
- label: 居中 - label: 居中
value: true value: true
- $formkit: radio
name: footer_hide_theme_info
label: 页脚主题信息
value: false
help: 控制页脚主题信息“Powered by Halo & Dream”的显示或隐藏。
options:
- label: 显示
value: false
- label: 隐藏
value: true
- group: basic_style - group: basic_style
label: '基础样式' label: '基础样式'
formSchema: formSchema:
@ -609,7 +599,6 @@ spec:
label: 默认关闭 label: 默认关闭
- $formkit: radio - $formkit: radio
name: enable_post_share name: enable_post_share
id: enable_post_share
label: 开启文章分享 label: 开启文章分享
value: true value: true
help: '如果文章或页面元数据配置了enable_share项则当前配置将被覆盖。' help: '如果文章或页面元数据配置了enable_share项则当前配置将被覆盖。'
@ -620,7 +609,6 @@ spec:
label: 默认关闭 label: 默认关闭
- $formkit: repeater - $formkit: repeater
name: custom_post_share name: custom_post_share
if: $get(enable_post_share).value
max: 11 max: 11
min: 1 min: 1
label: 文章分享方式 label: 文章分享方式

View File

@ -14,7 +14,7 @@
<p class="icon-spot"> <p class="icon-spot">
<span id="webCopyright" th:text="'&copy; '+${#dates.format(#dates.createNow(), 'yyyy')}+' '"></span><a class="record" <span id="webCopyright" th:text="'&copy; '+${#dates.format(#dates.createNow(), 'yyyy')}+' '"></span><a class="record"
th:href="${site.url}" rel="noopener noreferrer nofollow" th:href="${site.url}" rel="noopener noreferrer nofollow"
th:text="${site.title}"></a><span th:unless="${theme.config.basic_info.footer_hide_theme_info}" class="footer-truncation">Powered by <span class="footer-copyright"><a class="powered footer-copyright-halo" href="https://halo.run/" target="_blank">Halo</a> & <a class="powered" href="https://github.com/zsjy/halo-theme-dream2.0-plus" target="_blank">Dream2.0 Plus</a></span></span></p> th:text="${site.title}"></a><span class="footer-truncation">Powered by <span class="footer-copyright"><a class="powered footer-copyright-halo" href="https://halo.run/" target="_blank">Halo</a> & <a class="powered" href="https://github.com/zsjy/halo-theme-dream2.0-plus" target="_blank">Dream2.0 Plus</a></span></span></p>
<p class="icon-spot" th:if="${!#strings.isEmpty(theme.config.basic_info.record_number_ps) || !#strings.isEmpty(theme.config.basic_info.record_number)}"> <p class="icon-spot" th:if="${!#strings.isEmpty(theme.config.basic_info.record_number_ps) || !#strings.isEmpty(theme.config.basic_info.record_number)}">
<a th:if="${!#strings.isEmpty(theme.config.basic_info.record_number)}" class="record" <a th:if="${!#strings.isEmpty(theme.config.basic_info.record_number)}" class="record"
href="http://beian.miit.gov.cn/publish/query/indexFirst.action" target="_blank" rel="noopener noreferrer nofollow"><img href="http://beian.miit.gov.cn/publish/query/indexFirst.action" target="_blank" rel="noopener noreferrer nofollow"><img