fix: icp
This commit is contained in:
parent
1f6b859952
commit
28d8716cf4
@ -146,5 +146,8 @@ since: 2015
|
|||||||
# 是否显示页脚信息(建议保留,有助于本主题的推广)
|
# 是否显示页脚信息(建议保留,有助于本主题的推广)
|
||||||
pageFooter: true
|
pageFooter: true
|
||||||
|
|
||||||
# 备案信息(不需要就留空)
|
#ICP备案信息尾部显示
|
||||||
beian: ''
|
icp:
|
||||||
|
enable: false
|
||||||
|
url: 'http://www.beian.miit.gov.cn/' # 备案链接
|
||||||
|
text: '浙ICP备88888888' # 备案信息
|
@ -22,9 +22,9 @@
|
|||||||
<%- partial('post/busuanzi') %>
|
<%- partial('post/busuanzi') %>
|
||||||
<% } %>
|
<% } %>
|
||||||
</li>
|
</li>
|
||||||
<% if (theme.beian){ %>
|
<% if (theme.icp&&theme.icp.enable){ %>
|
||||||
<li>
|
<li>
|
||||||
<a href="http://www.beian.miit.gov.cn/" target="_black"><%= theme.beian %></a>
|
<a href="<%= theme.icp.url %>" target="_black"><%= theme.icp.text %></a>
|
||||||
</li>
|
</li>
|
||||||
<% } %>
|
<% } %>
|
||||||
<li>
|
<li>
|
||||||
|
Loading…
Reference in New Issue
Block a user