Class name should be lowercase for fontawesome

Easier to toggle fontawesome feature
bd4a14dfa3
This commit is contained in:
curben 2018-10-01 13:44:32 +09:30
parent 1d4e14de25
commit b5529674c0
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@
<% for (var key in theme.links.solid) { %>
<li>
<% if (theme.icons){ %>
<a href="<%= theme.links.solid[key] %>"><span class="fas fa-<%= key %>"></span></a>
<a href="<%= theme.links.solid[key] %>"><span class="fas fa-<%= key.toLowerCase() %>"></span></a>
<% } else { %>
<a href="<%= theme.links.solid[key] %>"><%= key %></a>
<% } %>
@ -22,7 +22,7 @@
<% for (var key in theme.links.brands) { %>
<li>
<% if (theme.icons){ %>
<a href="<%= theme.links.brands[key] %>"><span class="fab fa-<%= key %>"></span></a>
<a href="<%= theme.links.brands[key] %>"><span class="fab fa-<%= key.toLowerCase() %>"></span></a>
<% } else { %>
<a href="<%= theme.links.brands[key] %>"><%= key %></a>
<% } %>