From 9493d3c148c8194b7ba628ee3741fc3baffa15ab Mon Sep 17 00:00:00 2001 From: XPoet Date: Wed, 29 Apr 2020 18:46:33 +0800 Subject: [PATCH] pref: add animate class name to some pages --- layout/about.ejs | 2 +- layout/archive-content.ejs | 2 +- layout/article-content.ejs | 2 +- layout/category-content.ejs | 2 +- layout/home-content.ejs | 2 +- layout/tag-content.ejs | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/layout/about.ejs b/layout/about.ejs index c0100cf..84b4744 100644 --- a/layout/about.ejs +++ b/layout/about.ejs @@ -1,4 +1,4 @@ -
+
<%- page.content %>
diff --git a/layout/archive-content.ejs b/layout/archive-content.ejs index 69b84b2..558b855 100644 --- a/layout/archive-content.ejs +++ b/layout/archive-content.ejs @@ -1,3 +1,3 @@ -
+
<%- partial('_partial/archive-list', {posts_new: site.posts}) %>
\ No newline at end of file diff --git a/layout/article-content.ejs b/layout/article-content.ejs index fd97c35..061ec1c 100644 --- a/layout/article-content.ejs +++ b/layout/article-content.ejs @@ -1,4 +1,4 @@ -
+

<%= page.title %>

diff --git a/layout/category-content.ejs b/layout/category-content.ejs index fda5047..7b9a77c 100644 --- a/layout/category-content.ejs +++ b/layout/category-content.ejs @@ -1,4 +1,4 @@ -
+
<%- __('category') %>:<%= page.category %> [<%= page.posts.length %>]
diff --git a/layout/home-content.ejs b/layout/home-content.ejs index a390b63..d1a0b2c 100644 --- a/layout/home-content.ejs +++ b/layout/home-content.ejs @@ -1,4 +1,4 @@ -
+
    <% page.posts.forEach(post => { %>
  • diff --git a/layout/tag-content.ejs b/layout/tag-content.ejs index fc64b0a..5f091c6 100644 --- a/layout/tag-content.ejs +++ b/layout/tag-content.ejs @@ -1,4 +1,4 @@ -
    +
    <%- __('tag') %>:<%= page.tag %> [<%= page.posts.length %>]
    <%- partial('_partial/archive-list', {posts_new: page.posts}) %>