add icp numbers

This commit is contained in:
Wittoy 2021-01-28 21:25:57 +08:00
parent 2ab5d610f7
commit 09db9b4d50
2 changed files with 5 additions and 0 deletions

View File

@ -228,6 +228,7 @@ pjax:
# ---------------------------------------------------------------------------------------
footer:
since: 2020
icp:
# ---------------------------------------------------------------------------------------

View File

@ -25,5 +25,9 @@
<div class="theme-info info-item">
<%- __('powered_by', '<a target="_blank" href="https://hexo.io">Hexo</a>') %>&nbsp;|&nbsp;<%- __('theme') %>&nbsp;<a class="theme-version" target="_blank" href="https://github.com/XPoet/hexo-theme-keep">Keep v<%= theme.version %></a>
</div>
<% if (theme.footer.icp ){ %>
<div class="icp-info info-item"><a target="_blank" rel="nofollow" href="https://beian.miit.gov.cn"><%= theme.footer.icp %></a></div>
<% } %>
</div>
</footer>