From 4e2c9e709500229b84798dacfd14b6bbf9140e53 Mon Sep 17 00:00:00 2001
From: weru <onewesh@gmail.com>
Date: Fri, 11 Sep 2020 01:22:57 +0000
Subject: [PATCH] add proper prev next buttons #11
---
layouts/partials/document.html | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
diff --git a/layouts/partials/document.html b/layouts/partials/document.html
index f991472..fd59054 100644
--- a/layouts/partials/document.html
+++ b/layouts/partials/document.html
@@ -5,13 +5,6 @@
<section class="content">
<h1>{{ .Title }}</h1>
{{- .Content }}
- <div class="pager">
- {{- with .Next }}
- <a href="{{ .Permalink }}" id="prev"><< {{ .Title }}</a>
- {{ end }}
- {{- with .Prev }}
- <a href="{{ .Permalink }}" id="next">{{ .Title }} >></a>
- {{- end }}
- </div>
+ {{ partial "pager" . }}
</section>
</div>
--
Gitblit v1.10.0