From 955ec1edddcfe0c0e80c11bd65dec75457ff32d8 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Sat, 22 Feb 2020 22:15:04 +0800 Subject: [PATCH] prev-next --- layout/_partial/archive.ejs | 37 +++++++++++++++++-------------------- 1 file changed, 17 insertions(+), 20 deletions(-) diff --git a/layout/_partial/archive.ejs b/layout/_partial/archive.ejs index 033fd94..16d9501 100755 --- a/layout/_partial/archive.ejs +++ b/layout/_partial/archive.ejs @@ -35,27 +35,24 @@ <% if (page.total > 1) { %>
-
- <% if (page.prev != 0) { %> - - <% } %> -

- <%= page.current%> / <%= page.total%> -

- <% if (page.next != 0) { %> - - <% } %> -
+ <% if (page.prev != 0) { %> + + <% } %> +

+ <%= page.current%> / <%= page.total%> +

+ <% if (page.next != 0) { %> + + <% } %>
- <% } %> <%