尾部添加公安备案
尾部添加公安备案显示,备案链接添加”rel="nofollow"“属性,有利于SEO
This commit is contained in:
parent
c775133f5b
commit
e3724557a3
@ -161,6 +161,12 @@ icp:
|
||||
enable: false
|
||||
url: "http://www.beian.miit.gov.cn/" # 备案链接
|
||||
text: "浙ICP备88888888" # 备案信息
|
||||
#公安备案信息尾部显示
|
||||
gongan:
|
||||
enable: false
|
||||
img: /images/beian.png #公安备案图片
|
||||
url: "http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=" #公安备案链接
|
||||
text: "湘公网安备01234567890123号" #公安备案信息
|
||||
|
||||
# 评论:1、Valine(推荐);2、Gitalk;3、MiniValine
|
||||
|
||||
|
@ -29,10 +29,18 @@
|
||||
<ul>
|
||||
<% if (theme.icp&&theme.icp.enable){ %>
|
||||
<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>
|
||||
<% } %>
|
||||
</ul>
|
||||
<ul>
|
||||
<li>
|
||||
<!-- cnzz统计 -->
|
||||
|
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