-
-
+
<%- partial('partial/side', {'noCategories': true, 'noTags': false}) %>
diff --git a/themes/grid/layout/index.ejs b/themes/grid/layout/index.ejs
index ac02bb8..b3389da 100644
--- a/themes/grid/layout/index.ejs
+++ b/themes/grid/layout/index.ejs
@@ -1,17 +1,10 @@
<%- partial('partial/post/list', {start: 1}) %>
- <% if (page.total > 1) { %>
-
+ <%- uk_paginator({total: page.total, current: page.current, sideSize: 3, midSize: 6, base: url_for(page.path), mainClasses: ["mb-0"]}) %>
+
- <% } %>
-
-
+
<%- partial('partial/side', {'noCategories': false, 'noTags': false}) %>
diff --git a/themes/grid/layout/post.ejs b/themes/grid/layout/post.ejs
index 67f1cdb..0c96133 100644
--- a/themes/grid/layout/post.ejs
+++ b/themes/grid/layout/post.ejs
@@ -21,24 +21,25 @@
separator: ' / '
}) %>
- <% } %>
+ <% } %>
+ <%- uk_paginator({total: page.total, current: page.current, sideSize: 3, midSize: 6, base: "/", mainClasses: ["mb-0"]}) %>
+
- <% } %>
-
-
+
<%- partial('partial/side', {'noCategories': false, 'noTags': false}) %>
diff --git a/themes/grid/layout/tag.ejs b/themes/grid/layout/tag.ejs
index 4cadc3b..9cf654f 100644
--- a/themes/grid/layout/tag.ejs
+++ b/themes/grid/layout/tag.ejs
@@ -1,17 +1,10 @@
<%- partial('partial/post/list', {start: 1}) %>
- <% if (page.total > 1) { %>
-
+ <%- uk_paginator({total: page.total, current: page.current, sideSize: 3, midSize: 6, base: url_for(page.path), mainClasses: ["mb-0"]}) %>
+
- <% } %>