From 2fa0554eddc62c6a503dc25a83c5b83fb5cce2e7 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Mon, 12 Nov 2018 23:43:43 +0800 Subject: [PATCH] update --- layout/_partial/side.ejs | 6 +-- layout/_widget/author.ejs | 7 +-- layout/_widget/categories.ejs | 4 +- layout/_widget/links.ejs | 11 ++-- layout/_widget/music.ejs | 5 +- layout/_widget/tagcloud.ejs | 4 +- layout/_widget/toc.ejs | 5 +- source/less/_main.less | 4 +- source/less/_toc.less | 51 +++++++++++------- source/less/_widget.less | 98 ++++++++++++++++++++--------------- 10 files changed, 114 insertions(+), 81 deletions(-) diff --git a/layout/_partial/side.ejs b/layout/_partial/side.ejs index 64a39f7..21c00c4 100755 --- a/layout/_partial/side.ejs +++ b/layout/_partial/side.ejs @@ -8,13 +8,13 @@ <% if (config.widgets.tagcloud){ %> <%- partial('../_widget/tagcloud') %> <% } %> + <% if (config.widgets.toc){ %> + <%- partial('../_widget/toc') %> + <% } %> <% if (config.widgets.musicid){ %> <%- partial('../_widget/music') %> <% } %> <% if (config.widgets.links){ %> <%- partial('../_widget/links') %> <% } %> - <% if (config.widgets.toc){ %> - <%- partial('../_widget/toc') %> - <% } %> <% } %> diff --git a/layout/_widget/author.ejs b/layout/_widget/author.ejs index 38015f1..6c7b43a 100755 --- a/layout/_widget/author.ejs +++ b/layout/_widget/author.ejs @@ -2,7 +2,7 @@
<% if(config.widgets.author.avatar || config.avatar) { %>
- +
<%} %> <% if (config.widgets.author.title || config.widgets.author.motto){ %> @@ -11,10 +11,7 @@

<%= config.widgets.author.title %>

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

<%= config.widgets.author.motto %>

<% } %> <% } %> diff --git a/layout/_widget/categories.ejs b/layout/_widget/categories.ejs index aa8355d..1b11fe0 100755 --- a/layout/_widget/categories.ejs +++ b/layout/_widget/categories.ejs @@ -1,5 +1,7 @@
-
  分类
+
+
  分类
+
<% if (site.categories.length){ %>
    diff --git a/layout/_widget/links.ejs b/layout/_widget/links.ejs index 4ea4a3c..bc94ba6 100755 --- a/layout/_widget/links.ejs +++ b/layout/_widget/links.ejs @@ -1,9 +1,10 @@