From c95ed932a44a078be6563f989880b1027e70f729 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Wed, 21 Nov 2018 13:44:39 +0800 Subject: [PATCH] avatar --- layout/_widget/author.ejs | 48 +++++++++++++++++++-------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/layout/_widget/author.ejs b/layout/_widget/author.ejs index b2bc7fb..2aacd67 100755 --- a/layout/_widget/author.ejs +++ b/layout/_widget/author.ejs @@ -1,28 +1,28 @@ <% if(theme.widgets.author.enable != false) { %> -
- <% if(theme.widgets.author.avatar == true && config.avatar) { %> -
- -
- <%} %> - <% if (theme.widgets.author.title == true || theme.widgets.author.motto == true){ %> -
- <% if (theme.widgets.author.title == true){ %> -

<%= config.title %>

- <% } %> - <% if (theme.widgets.author.motto){ %> -

<%= config.motto %>

- <% } %> -
+
+ <% if(theme.widgets.author.avatar) { %> +
+ +
+ <%} %> + <% if (theme.widgets.author.title == true || theme.widgets.author.motto == true){ %> +
+ <% if (theme.widgets.author.title == true){ %> +

<%= config.title %>

<% } %> - <% if (theme.widgets.author.social == true && config.social){ %> - + <% if (theme.widgets.author.motto){ %> +

<%= config.motto %>

<% } %> -
+ + <% } %> + <% if (theme.widgets.author.social == true && config.social){ %> + + <% } %> +
<% } %>