add: `页脚`增加对icp、公网安、隐私显示的控制
This commit is contained in:
parent
2614dc6946
commit
030293dda8
|
@ -1085,6 +1085,7 @@ spec:
|
|||
- $formkit: radio
|
||||
if: $get(default_enable).value
|
||||
name: dingyue
|
||||
default_enable: true
|
||||
label: 订阅
|
||||
options:
|
||||
- label: 显示
|
||||
|
@ -1094,6 +1095,7 @@ spec:
|
|||
- $formkit: radio
|
||||
if: $get(default_enable).value
|
||||
name: zhuti
|
||||
default_enable: true
|
||||
label: 主题
|
||||
options:
|
||||
- label: 显示
|
||||
|
@ -1103,12 +1105,43 @@ spec:
|
|||
- $formkit: radio
|
||||
if: $get(default_enable).value
|
||||
name: about
|
||||
default_enable: true
|
||||
label: 关于
|
||||
options:
|
||||
- label: 显示
|
||||
value: true
|
||||
- label: 隐藏
|
||||
value: false
|
||||
- $formkit: radio
|
||||
if: $get(default_enable).value
|
||||
name: icp_icon
|
||||
default_enable: true
|
||||
label: icp备案
|
||||
options:
|
||||
- label: 显示
|
||||
value: true
|
||||
- label: 隐藏
|
||||
value: false
|
||||
- $formkit: radio
|
||||
if: $get(default_enable).value
|
||||
name: gongwangan
|
||||
default_enable: true
|
||||
label: 公网安备案
|
||||
options:
|
||||
- label: 显示
|
||||
value: true
|
||||
- label: 隐藏
|
||||
value: false
|
||||
- $formkit: radio
|
||||
if: $get(default_enable).value
|
||||
name: yingsi
|
||||
default_enable: true
|
||||
label: yingsi
|
||||
options:
|
||||
- label: 显示
|
||||
value: true
|
||||
- label: 隐藏
|
||||
value: false
|
||||
- $formkit: group
|
||||
name: style_one
|
||||
label: 中间
|
||||
|
|
|
@ -122,7 +122,7 @@
|
|||
<a class="footer-banner-link" href="/rss.xml" th:if="${pluginFinder.available('PluginFeed')} and ${theme.config.footer.footerContent.dingyue}">订阅</a>
|
||||
<a th:if="${theme.config.footer.footerContent.zhuti}" class="footer-banner-link" href="https://github.com/liuzhihang/halo-theme-hao">主题</a>
|
||||
<a th:if="${theme.config.footer.footerContent.about}" class="footer-banner-link" href="/about">关于</a>
|
||||
<a th:if="${not #strings.isEmpty(theme.config.basics.icp)}"
|
||||
<a th:if="${not #strings.isEmpty(theme.config.basics.icp) && theme.config.footer.footerContent.icp_icon}"
|
||||
class="footer-banner-link" href="https://beian.miit.gov.cn/#/Integrated/index"
|
||||
rel="noopener external nofollow noreferrer noopener"
|
||||
target="_blank">
|
||||
|
@ -131,7 +131,7 @@
|
|||
<img th:if="${#strings.startsWith(theme.config.basics.icp, 'http')}"
|
||||
th:src="@{${theme.config.basics.icp}}" alt="icp"/>
|
||||
</a>
|
||||
<a th:if="${not #strings.isEmpty(theme.config.basics.gongan)}"
|
||||
<a th:if="${not #strings.isEmpty(theme.config.basics.gongan) && theme.config.footer.footerContent.gongwangan}"
|
||||
class="footer-banner-link" href="http://www.beian.gov.cn/portal/registerSystemInfo"
|
||||
rel="noopener external nofollow noreferrer noopener"
|
||||
target="_blank">
|
||||
|
@ -140,7 +140,7 @@
|
|||
th:src="@{${theme.config.basics.gongan}}" alt="gongan"/>
|
||||
</a>
|
||||
<a class="footer-banner-link cc" th:href="${theme.config.basics.copyrightAgreement}"
|
||||
th:if="${not #strings.isEmpty(theme.config.basics.copyrightAgreement)}" title="cc协议">
|
||||
th:if="${not #strings.isEmpty(theme.config.basics.copyrightAgreement) && theme.config.footer.footerContent.yingsi}" title="cc协议">
|
||||
<i class="haofont hao-icon-copyright-line"></i>
|
||||
<i class="haofont hao-icon-creative-commons-by-line"></i>
|
||||
<i class="haofont hao-icon-creative-commons-nc-line"></i>
|
||||
|
|
Loading…
Reference in New Issue