Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/yoshiharuyamashita/blackburn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoshiharu Yamashita <yoshiharu.yamashita@outlook.com>2016-01-30 02:32:02 +0300
committerYoshiharu Yamashita <yoshiharu.yamashita@outlook.com>2016-01-30 02:32:02 +0300
commitdf8a9b10219ae97eae82ddcbac99bcd0429917eb (patch)
tree80f3624f98e4f96ba9cec887e06cf77e57a229a3 /layouts/post
parentfdd4018c21b24d39357bcd84c8d50c337cbe0e4c (diff)
Make pagination customisable
Diffstat (limited to 'layouts/post')
-rw-r--r--layouts/post/single.html17
1 files changed, 1 insertions, 16 deletions
diff --git a/layouts/post/single.html b/layouts/post/single.html
index 8764723..00ed12e 100644
--- a/layouts/post/single.html
+++ b/layouts/post/single.html
@@ -10,22 +10,7 @@
{{ .Content }}
- <div class="pagination pure-g">
- <div class="pure-u-1 pure-u-md-1-2">
- <nav>
- {{ if .Prev }}
- <a href="{{ .Prev.Permalink }}"><i class="fa fa-arrow-circle-left fa-fw fa-lg"></i>&nbsp;{{ .Prev.Title }}</a>
- {{ end }}
- </nav>
- </div>
- <div class="pure-u-1 pure-u-md-1-2">
- <nav>
- {{ if .Next }}
- <a href="{{ .Next.Permalink }}">{{ .Next.Title }}&nbsp;<i class="fa fa-arrow-circle-right fa-fw fa-lg"></i></a>
- {{ end }}
- </nav>
- </div>
- </div>
+ {{ partial "pagination.html" . }}
{{ partial "disqus.html" . }}