From c2441ca07f360f605e059d3852e340082cf33999 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Sun, 15 Jul 2018 15:54:15 +0200 Subject: pagination to join posts --- layouts/_default/single.html | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) (limited to 'layouts/_default/single.html') diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 62e3ce9..0895012 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -18,16 +18,16 @@ +
+ {{ with .NextInSection }} + + Newer
+ {{ .Title }} +
+ {{ end}} + + {{ with .PrevInSection }} + + Older
+ {{ .Title }} +
+ {{ end}} +
+ {{ if not (eq .Params.comments false) }} -
+
{{ template "_internal/disqus.html" . }}
{{ end }} -- cgit v1.2.3