Merge pull request #56 from Wittoy/master

feat: add ICP record number in _config.yml
This commit is contained in:
指间的诗意 2021-01-28 23:14:05 +08:00 committed by GitHub
commit 49a49df779
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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>