Merge pull request #79 from bilikxjh/master
添加公安备案信息显示/Add public security record information display
This commit is contained in:
commit
4d3776ea3c
@ -167,6 +167,12 @@ icp:
|
|||||||
enable: false
|
enable: false
|
||||||
url: "http://www.beian.miit.gov.cn/" # 备案链接
|
url: "http://www.beian.miit.gov.cn/" # 备案链接
|
||||||
text: "浙ICP备88888888" # 备案信息
|
text: "浙ICP备88888888" # 备案信息
|
||||||
|
#公安备案信息尾部显示
|
||||||
|
gongan:
|
||||||
|
enable: false
|
||||||
|
img: /images/beian.png #公安备案图片
|
||||||
|
url: "http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=01234567890123" #公安备案链接
|
||||||
|
text: "湘公网安备01234567890123号" #公安备案信息
|
||||||
|
|
||||||
# 评论:1、Valine(推荐);2、Gitalk;3、MiniValine
|
# 评论:1、Valine(推荐);2、Gitalk;3、MiniValine
|
||||||
|
|
||||||
|
@ -29,7 +29,15 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<% if (theme.icp&&theme.icp.enable){ %>
|
<% if (theme.icp&&theme.icp.enable){ %>
|
||||||
<li>
|
<li>
|
||||||
<a href="<%= theme.icp.url %>" target="_black"><%= theme.icp.text %></a>
|
<a href="<%= theme.icp.url %>" target="_black" rel="nofollow"><%= theme.icp.text %></a>
|
||||||
|
</li>
|
||||||
|
<% } %>
|
||||||
|
</ul>
|
||||||
|
<ul>
|
||||||
|
<% if (theme.gongan&&theme.gongan.enable){ %>
|
||||||
|
<li>
|
||||||
|
<img src="<%= theme.gongan.img %>"></img>
|
||||||
|
<a href="<%= theme.gongan.url %>" target="_black" rel="nofollow"><%= theme.gongan.text %></a>
|
||||||
</li>
|
</li>
|
||||||
<% } %>
|
<% } %>
|
||||||
</ul>
|
</ul>
|
||||||
|
BIN
source/images/beian.png
Normal file
BIN
source/images/beian.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
Loading…
Reference in New Issue
Block a user