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) { %> - - <% if (page.prev != 0) { %> - - - PREVIOUS - - <% } %> - <% if (page.next != 0) { %> - - NEXT - - - <% } %> - - + + <% if (page.prev != 0) { %> + + + PREVIOUS + + <% } %> + <% if (page.next != 0) { %> + + NEXT + + + <% } %> + <% } %> - 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 @@ <% } %> +