From 832ebd0038ccecbd6bbd5baa337c8d59e19542f7 Mon Sep 17 00:00:00 2001 From: Doge Date: Sun, 9 May 2021 15:18:10 +0800 Subject: Add pagination support --- layout/_partial/header.ejs | 2 +- layout/index.ejs | 64 +++++++++++++++++++++------------------------- 2 files changed, 30 insertions(+), 36 deletions(-) (limited to 'layout') diff --git a/layout/_partial/header.ejs b/layout/_partial/header.ejs index f7fef30..c6c1a9f 100644 --- a/layout/_partial/header.ejs +++ b/layout/_partial/header.ejs @@ -1,4 +1,4 @@ -
+
- + + - <% }); %> + <% }); %> + + + <% if (page.prev || page.next) { %> +
+
+ +
+
+ <% } %>
- - - - - \ No newline at end of file -- cgit v1.2.3