Skip to content

Commit

Permalink
add miit_license config, see: #57
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Tang <iam@tangkunyin.com>
  • Loading branch information
tangkunyin committed May 18, 2021
1 parent 28bf869 commit dd3da7c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,6 @@ mathjax:

## Baidu ziyuan auto-commit. see https://ziyuan.baidu.com/
baidu_auto_push: true

## MIIT Info. see https://beian.miit.gov.cn/#/Integrated/index
miit_license: ## 例:京ICP备xxxxx号
3 changes: 3 additions & 0 deletions layout/_partial/footer.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
<%= __('theme_by') %>&nbsp&nbsp<a href="https://github.com/tangkunyin/hexo-theme-jsimple" target="_blank" rel="bookmark">JSimple</a>
<%= __('author') %>&nbsp<a href="<%= theme.webmaster.home %>" target="_blank" rel="friend"><%= theme.webmaster.name %></a>
,Hosted by <a href="https://pages.github.com/" target="_blank" rel="nofollow">GitHub Pages</a>
<% if(theme.miit_license) { %>
<a href="https://beian.miit.gov.cn/" target="_blank"><%= theme.miit_license %></a> <img src="/images/gong-an.png" style="width:15px;height:16px">
<% } %>
</p>
</div>
</footer>
Binary file added source/images/gong-an.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit dd3da7c

Please sign in to comment.