aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
authorÓscar Nájera <hello@oscarnajera.com>2018-07-15 15:54:15 +0200
committerÓscar Nájera <hello@oscarnajera.com>2018-07-15 15:54:15 +0200
commitc2441ca07f360f605e059d3852e340082cf33999 (patch)
tree453c3a1a16f05e4e6bd8a42e5a1900757d06ec0f /layouts/_default/single.html
parent4b541b2029f50bab5af774f98556120e84614972 (diff)
downloadhugo-minimalist-theme-c2441ca07f360f605e059d3852e340082cf33999.tar.gz
hugo-minimalist-theme-c2441ca07f360f605e059d3852e340082cf33999.tar.bz2
hugo-minimalist-theme-c2441ca07f360f605e059d3852e340082cf33999.zip
pagination to join posts
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html24
1 files changed, 20 insertions, 4 deletions
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 @@
<footer class="ph3 pb2 bt bb cf b--black-50">
{{ with .Params.tags }}
<div class="fl w-50-ns mb2">
- <h5 class="f5 ttu black-60">Tagged in</br></h5>
+ <h5 class="f5 ttu black-60">Tagged in</h5>
{{ range . }}
- <a class="f5 link br1 ph3 pv2 blue dib hover-bg-black hover-white ba"
+ <a class="f5 link br1 ph3 pv2 blue dib hover-bg-light-blue hover-white ba"
href="{{ $.Site.LanguagePrefix }}/tags/{{ . | urlize }}/">{{ . }}</a>
{{ end }}
</div>
{{ end }}
<div class="fl w-50 mb2">
- <h5 class="f5 ttu black-60">Share in Social Networks</br></h5>
+ <h5 class="f5 ttu black-60">Share in Social Networks</h5>
{{ range .Site.Params.sharingOptions }}
<a class="f4 link br1 ph3 pv2 blue dib hover-bg-light-blue hover-white ba" target="new" href="{{ printf .url $.Permalink }}">
<i class="fab {{ .icon }}"></i>
@@ -36,9 +36,25 @@
</div>
</footer>
+ <div class="mv3 tc">
+ {{ with .NextInSection }}
+ <a href="{{ .RelPermalink }}" class="dib f4 link br1 ma1 pa2 blue hover-bg-light-blue hover-white ba">
+ <i class="fa fa-angle-left"></i> Newer <br/>
+ {{ .Title }}
+ </a>
+ {{ end}}
+
+ {{ with .PrevInSection }}
+ <a href="{{ .RelPermalink }}" class="dib f4 link br1 ma1 pa2 blue hover-bg-light-blue hover-white ba">
+ Older <i class="fa fa-angle-right"></i> <br/>
+ {{ .Title }}
+ </a>
+ {{ end}}
+ </div>
+
</div>
{{ if not (eq .Params.comments false) }}
- <div class="mw7 center mv4">
+ <div class="mw7 center mv4 pa2">
{{ template "_internal/disqus.html" . }}
</div>
{{ end }}