perf: optimize first screen links href

This commit is contained in:
XPoet 2020-12-12 20:25:56 +08:00
parent 3923418223
commit c5fef13e3c
1 changed files with 2 additions and 2 deletions

View File

@ -9,13 +9,13 @@
<% if(theme.social_contact.links[key]) { %> <% if(theme.social_contact.links[key]) { %>
<% if(key === 'email') { %> <% if(key === 'email') { %>
<span class="s-icon-item <%= key %>"> <span class="s-icon-item <%= key %>">
<a href="mailto:<%- url_for(theme.social_contact.links[key]) %>"> <a href="mailto:<%- theme.social_contact.links[key] %>">
<i class="fas fa-envelope"></i> <i class="fas fa-envelope"></i>
</a> </a>
</span> </span>
<% } else { %> <% } else { %>
<span class="s-icon-item <%= key %>"> <span class="s-icon-item <%= key %>">
<a href="<%- url_for(theme.social_contact.links[key]) %>"> <a target="_blank" href="<%- theme.social_contact.links[key] %>">
<i class="fab fa-<%= key %>"></i> <i class="fab fa-<%= key %>"></i>
</a> </a>
</span> </span>