diff options
author | Yoshiharu Yamashita <yoshiharu.yamashita@outlook.com> | 2016-01-30 02:32:02 +0300 |
---|---|---|
committer | Yoshiharu Yamashita <yoshiharu.yamashita@outlook.com> | 2016-01-30 02:32:02 +0300 |
commit | df8a9b10219ae97eae82ddcbac99bcd0429917eb (patch) | |
tree | 80f3624f98e4f96ba9cec887e06cf77e57a229a3 /layouts/post | |
parent | fdd4018c21b24d39357bcd84c8d50c337cbe0e4c (diff) |
Make pagination customisable
Diffstat (limited to 'layouts/post')
-rw-r--r-- | layouts/post/single.html | 17 |
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> {{ .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 }} <i class="fa fa-arrow-circle-right fa-fw fa-lg"></i></a> - {{ end }} - </nav> - </div> - </div> + {{ partial "pagination.html" . }} {{ partial "disqus.html" . }} |