Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xaoxuu committed Nov 16, 2018
1 parent cdd834d commit 823fa26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layout/_widget/author.ejs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<% if(theme.widgets.author.enable != false) { %>
<section class='m_widget author'>
<% if(theme.widgets.author.avatar == true && config.avatar.length) { %>
<% if(theme.widgets.author.avatar == true && config.avatar) { %>
<div class='header'>
<img class='avatar' src='<%= url_for(config.avatar) %>'/>
</div>
Expand All @@ -15,7 +15,7 @@
<% } %>
</div>
<% } %>
<% if (theme.widgets.author.social == true && config.social.length){ %>
<% if (theme.widgets.author.social == true && config.social){ %>
<div class="social-wrapper">
<% (config.social||[]).forEach(function(value){ %>
<% if (value.url && value.icon) { %>
Expand Down

0 comments on commit 823fa26

Please sign in to comment.