尾部添加公安备案

尾部添加公安备案显示,备案链接添加”rel="nofollow"“属性,有利于SEO
This commit is contained in:
kaixin
2020-08-30 17:07:41 +08:00
parent c775133f5b
commit e3724557a3
3 changed files with 15 additions and 1 deletions

View File

@@ -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统计 -->