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:
authorHauke Stieler <mail@hauke-stieler.de>2022-01-19 12:09:28 +0300
committerGitHub <noreply@github.com>2022-01-19 12:09:28 +0300
commitb38362067cceefd37795a1ce61c7659d896571d8 (patch)
treedb9bd6ce13c3929016a2c25e2580e7be6eeb66ea
parent5f01bc951f8e86de0c8aa9c49c1f3900574c3eb5 (diff)
parent625d9fc80461d49d95194f3160ea3bbcdc07c702 (diff)
Merge pull request #12 from eisenherzz/patch-1v0.7.3
Pagination can be deactivated for single pages
-rw-r--r--layouts/_default/single.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 910d6b6..953476f 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -77,6 +77,8 @@
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
{{ end }}
{{ end }}
+ {{ if (isset .Params "nopagination") }}
+ {{ else }}
<div class="delimiter"></div>
<div class="pager-container">
{{ with .PrevInSection }}
@@ -105,6 +107,7 @@
</div>
</a>
{{ end }}
+ {{ end }}
</div>
</footer>
</article>