From c1562b2da71eb582e4ccd9ae5b4682fbf01f5e73 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Mon, 6 Aug 2018 18:33:06 +0800 Subject: [PATCH] format --- layout/_partial/archive.ejs | 57 ++++++++++++++++++------------------- layout/_partial/article.ejs | 1 + 2 files changed, 28 insertions(+), 30 deletions(-) diff --git a/layout/_partial/archive.ejs b/layout/_partial/archive.ejs index 82f9cbd..fdf0d19 100755 --- a/layout/_partial/archive.ejs +++ b/layout/_partial/archive.ejs @@ -1,41 +1,38 @@ <% if (is_tag()) { %> - + <% } else if (is_archive()) { %> - + <% } else if (is_category()) { %> - + <% } %> +
- <% page.posts.each(function(post){ %> + <% page.posts.each(function(post){ %>
- <%- partial('post', {post: post}) %> + <%- partial('post', {post: post}) %>
- <% }) %> + <% }) %>
<% if (page.total > 1) { %> - - + <% } %> - diff --git a/layout/_partial/article.ejs b/layout/_partial/article.ejs index 171fa16..cc6ed34 100755 --- a/layout/_partial/article.ejs +++ b/layout/_partial/article.ejs @@ -77,6 +77,7 @@ <% } %> +