From 823fa2602f5ee9ea7442fd9e11dd17e7a2a1d376 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Fri, 16 Nov 2018 19:11:34 +0800 Subject: [PATCH] fix --- layout/_widget/author.ejs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layout/_widget/author.ejs b/layout/_widget/author.ejs index df28a4a..b2bc7fb 100755 --- a/layout/_widget/author.ejs +++ b/layout/_widget/author.ejs @@ -1,6 +1,6 @@ <% if(theme.widgets.author.enable != false) { %>
- <% if(theme.widgets.author.avatar == true && config.avatar.length) { %> + <% if(theme.widgets.author.avatar == true && config.avatar) { %>
@@ -15,7 +15,7 @@ <% } %> <% } %> - <% if (theme.widgets.author.social == true && config.social.length){ %> + <% if (theme.widgets.author.social == true && config.social){ %>