hexo/node_modules/hexo-theme-fluid/layout/_partials/footer/beian.ejs

34 lines
1.2 KiB
Plaintext
Raw Normal View History

2023-10-03 11:14:36 +08:00
<div class="beian">
<span>
<a href="http://beian.miit.gov.cn/" target="_blank" rel="nofollow noopener">
<%- theme.footer.beian.icp_text %>
</a>
</span>
<% if(theme.footer.beian.police_text) { %>
<% if(theme.footer.beian.police_code) { %>
<span>
<a
href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=<%= theme.footer.beian.police_code %>"
rel="nofollow noopener"
class="beian-police"
target="_blank"
>
<% if(theme.footer.beian.police_icon) { %>
<span style="visibility: hidden; width: 0">|</span>
<img src="<%= url_for(theme.footer.beian.police_icon) %>" alt="police-icon"/>
<% } %>
<span><%- theme.footer.beian.police_text %></span>
</a>
</span>
<% } else { %>
<span class="beian-police">
<% if(theme.footer.beian.police_icon) { %>
<span style="visibility: hidden; width: 0">|</span>
<img src="<%= url_for(theme.footer.beian.police_icon) %>" alt="police-icon"/>
<% } %>
<span class="beian-police"><%- theme.footer.beian.police_text %></span>
</span>
<% } %>
<% } %>
</div>