aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/post_pager.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/post_pager.html')
-rw-r--r--layouts/partials/post_pager.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/layouts/partials/post_pager.html b/layouts/partials/post_pager.html
new file mode 100644
index 0000000..6fe00aa
--- /dev/null
+++ b/layouts/partials/post_pager.html
@@ -0,0 +1,10 @@
+<nav class="flex items-center justify-center pa4 f5">
+{{ with .NextInSection }}
+ <a href="{{ .RelPermalink }}" rel="prev" class="near-white link bg-animate hover-bg-light-gray hover-near-black pa2 ba ma2">
+ « {{ .Title }}</a>
+{{ end }}
+{{ with .PrevInSection }}
+ <a href="{{ .RelPermalink }}" rel="prev" class="near-white link bg-animate hover-bg-light-gray hover-near-black pa2 ba ma2">
+ {{ .Title }} »</a>
+{{ end }}
+</nav>