From 3cabf98b564ae21efbf745f24a6155b10a68b2c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=B6=9B?= Date: Tue, 27 Apr 2021 08:00:27 +0800 Subject: [PATCH] =?UTF-8?q?style:=E6=89=80=E6=9C=89=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=9D=87=E5=88=87=E6=8D=A2=E8=87=B3=E5=93=8D=E5=BA=94=E5=BC=8F?= =?UTF-8?q?=E8=AE=BE=E8=AE=A1=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/grid/layout/archive.ejs | 6 ++--- themes/grid/layout/categories-list.ejs | 6 ++--- themes/grid/layout/category.ejs | 8 +++--- themes/grid/layout/index.ejs | 8 +++--- themes/grid/layout/partial/footer.ejs | 15 ++++++----- themes/grid/layout/partial/header.ejs | 19 +++++++++++++- themes/grid/layout/partial/post/list.ejs | 32 ++++++++++++------------ themes/grid/layout/partial/styles.ejs | 6 ++--- themes/grid/layout/post.ejs | 14 +++++------ themes/grid/layout/tag.ejs | 8 +++--- themes/grid/layout/tags-list.ejs | 6 ++--- 11 files changed, 72 insertions(+), 56 deletions(-) diff --git a/themes/grid/layout/archive.ejs b/themes/grid/layout/archive.ejs index eac61f3..b3a77f9 100644 --- a/themes/grid/layout/archive.ejs +++ b/themes/grid/layout/archive.ejs @@ -1,5 +1,5 @@ -
-
+
+
<% if (!is_month()) { %>
<%- list_archives({type: 'monthly', order: '1', show_count: true, format: 'YYYY年MM月'}) %> @@ -8,7 +8,7 @@ <%- partial('partial/post/list', {start: 1}) %> <% } %>
-
+
<%- partial('partial/side', {'noCategories': false, 'noTags': false}) %>
diff --git a/themes/grid/layout/categories-list.ejs b/themes/grid/layout/categories-list.ejs index e75ed83..33636c6 100644 --- a/themes/grid/layout/categories-list.ejs +++ b/themes/grid/layout/categories-list.ejs @@ -1,10 +1,10 @@ -
-
+
+
<%- list_categories({orderby: 'name', order: '1', show_count: true, class: "categories-toc"}) %>
-
+
<%- partial('partial/side', {'noCategories': true, 'noTags': false}) %>
diff --git a/themes/grid/layout/category.ejs b/themes/grid/layout/category.ejs index 985917f..109039c 100644 --- a/themes/grid/layout/category.ejs +++ b/themes/grid/layout/category.ejs @@ -1,8 +1,8 @@ -
-
+
+
<%- partial('partial/post/list', {start: 1}) %> <% if (page.total > 1) { %> -
+
@@ -13,7 +13,7 @@
<% } %>
-
+
<%- partial('partial/side', {'noCategories': true, 'noTags': false}) %>
diff --git a/themes/grid/layout/index.ejs b/themes/grid/layout/index.ejs index 9e51f80..d6dae87 100644 --- a/themes/grid/layout/index.ejs +++ b/themes/grid/layout/index.ejs @@ -1,8 +1,8 @@ -
-
+
+
<%- partial('partial/post/list', {start: 1}) %> <% if (page.total > 1) { %> -
+
@@ -13,7 +13,7 @@
<% } %>
-
+
<%- partial('partial/side', {'noCategories': false, 'noTags': false}) %>
diff --git a/themes/grid/layout/partial/footer.ejs b/themes/grid/layout/partial/footer.ejs index 2c09a77..a8b817a 100644 --- a/themes/grid/layout/partial/footer.ejs +++ b/themes/grid/layout/partial/footer.ejs @@ -1,16 +1,15 @@ -