Skip to content

Commit 5eb248d

Browse files
committed
refactor: utilize favicon_tag()
1 parent a6b0efe commit 5eb248d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

layout/_partial/head.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<%- feed_tag(theme.rss) %>
2727
<% } %>
2828
<% if (theme.favicon){ %>
29-
<link rel="icon" href="<%- theme.favicon %>">
29+
<%- favicon_tag(theme.favicon) %>
3030
<% } %>
3131
<%- css('css/typing') %>
3232
<%- css('css/donate') %>

layout/index.ejs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
<% for (var key in theme.links) { %>
1414
<li>
1515
<% if (theme.icons){ %>
16-
<a href="<%= theme.links[key] %>"><span class="fa fa-<%= key %>"></span></a>
16+
<a href="<%- url_for(theme.links[key]) %>"><span class="fa fa-<%= key %>"></span></a>
1717
<% } else { %>
18-
<a href="<%= theme.links[key] %>"><%= key %></a>
18+
<a href="<%- url_for(theme.links[key]) %>"><%= key %></a>
1919
<% } %>
2020
</li>
2121
<% } %>

0 commit comments

Comments
 (0)