diff options
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r-- | layouts/_default/single.html | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index dd61457..b3d7c16 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -20,16 +20,12 @@ </div> </article> <div class="pagination"> - <div class="prev"> - {{ if .PrevInSection }} - <a href="{{.PrevInSection.Permalink}}">Previous Post</a> - {{ end }} - </div> - <div class="next"> - {{ if .NextInSection }} - <a href="{{.NextInSection.Permalink}}">Next Post</a> - {{ end }} - </div> + {{ if .PrevInSection }} + <div class="prev"> <a href="{{.PrevInSection.Permalink}}">Previous Post</a> </div> + {{ end }} + {{ if .NextInSection }} + <div class="next"> <a href="{{.NextInSection.Permalink}}">Next Post</a> </div> + {{ end }} </div> {{ template "_internal/disqus.html" . }} {{ end }}
\ No newline at end of file |