feat: beian

This commit is contained in:
沈宇 2020-02-27 10:05:41 +08:00
parent 4fcc3ff32b
commit a32496edbe
2 changed files with 11 additions and 3 deletions

View File

@ -145,3 +145,6 @@ since: 2015
# 是否显示页脚信息(建议保留,有助于本主题的推广)
pageFooter: true
# 备案信息(不需要就留空)
beian: '浙ICP备88888888'

View File

@ -22,6 +22,11 @@
<%- partial('post/busuanzi') %>
<% } %>
</li>
<% if (theme.beian){ %>
<li>
<a href="http://www.beian.miit.gov.cn/" target="_black"><%= theme.beian %></a>
</li>
<% } %>
<li>
<!-- cnzz统计 -->
<% if (theme.cnzz&&theme.cnzz.enable){ %>