diff --git a/_config.yml.example b/_config.yml.example index f681efd3..c17a7807 100644 --- a/_config.yml.example +++ b/_config.yml.example @@ -67,3 +67,6 @@ navbar_links: # Links at the bottom of the page. footer_links: GitHub: https://github.com/ppoffice/hexo-theme-minos + +# Beian ICP information for Chinese users. Leave it blank if not needed. +beian-icp: diff --git a/layout/common/footer.ejs b/layout/common/footer.ejs index ba6388d9..242700c4 100644 --- a/layout/common/footer.ejs +++ b/layout/common/footer.ejs @@ -2,9 +2,12 @@
- © <%= date(new Date(), 'YYYY') %> <%= get_config('author') || get_config('title') %>  + <% if (has_config('beian-icp')) { %> + <%= get_config('beian-icp') %>  + <% } %> + © <%= date(new Date(), 'YYYY') %> <%= get_config('author') || get_config('title') %>.  Powered by Hexo & Minos + href="http://github.com/ppoffice/hexo-theme-minos" target="_blank">Minos
@@ -27,4 +30,4 @@ <%- partial('common/languages') %>
- \ No newline at end of file +