Skip to content

Commit

Permalink
移除 隐藏页脚主题信息 配置项
Browse files Browse the repository at this point in the history
  • Loading branch information
mjsoftking committed Dec 25, 2024
1 parent 1fa9c79 commit b09e938
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
12 changes: 0 additions & 12 deletions settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,6 @@ spec:
value: false
- label: 居中
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
label: '基础样式'
formSchema:
Expand Down Expand Up @@ -609,7 +599,6 @@ spec:
label: 默认关闭
- $formkit: radio
name: enable_post_share
id: enable_post_share
label: 开启文章分享
value: true
help: '如果文章或页面元数据配置了enable_share项,则当前配置将被覆盖。'
Expand All @@ -620,7 +609,6 @@ spec:
label: 默认关闭
- $formkit: repeater
name: custom_post_share
if: $get(enable_post_share).value
max: 11
min: 1
label: 文章分享方式
Expand Down
2 changes: 1 addition & 1 deletion templates/common/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<p class="icon-spot">
<span id="webCopyright" th:text="'&copy; '+${#dates.format(#dates.createNow(), 'yyyy')}+' '"></span><a class="record"
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)}">
<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
Expand Down

0 comments on commit b09e938

Please sign in to comment.