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

github.com/hauke96/hugo-theme-hamburg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/_default/single.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 0398c5b..15d8107 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -77,7 +77,7 @@
{{ end }}
<div class="delimiter"></div>
<div class="pager-container">
- {{ with .Prev }}
+ {{ with .PrevInSection }}
<a class="btn btn-primary btn-older-posts" href="{{ .Permalink }}">
<div>
<span aria-hidden="true">&larr;</span> {{ i18n "olderPosts" }}
@@ -90,7 +90,7 @@
</div>
</a>
{{ end }}
- {{ with .Next }}
+ {{ with .NextInSection }}
<a class="btn btn-primary btn-newer-posts" href="{{ .Permalink }}">
<div>
{{ i18n "newerPosts" }} <span aria-hidden="true">&rarr;</span>