From edc5b599c03d8ebae03d4137bf0be8db18df77cb Mon Sep 17 00:00:00 2001
From: weru <onewesh@gmail.com>
Date: Fri, 07 Feb 2020 15:03:39 +0000
Subject: [PATCH] update pager

---
 layouts/partials/document.html |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/layouts/partials/document.html b/layouts/partials/document.html
index c5613c0..0f6fd7e 100644
--- a/layouts/partials/document.html
+++ b/layouts/partials/document.html
@@ -5,10 +5,10 @@
   <div class="content">
     {{- .Content }}
     <div class="pager">
-      {{- with .Prev }}
+      {{- with .Next }}
       <a href="{{ .Permalink }}" id="prev">{{ .Title }}</a>
       {{ end }}
-      {{- with .Next }}
+      {{- with .Prev }}
       <a href="{{ .Permalink }}" id="next">{{ .Title }}</a>
       {{- end }}
     </div>

--
Gitblit v1.10.0