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

github.com/ThemeTony/hugo-theme-tony.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFFRaycoder <nn_201312@163.com>2020-05-24 09:44:53 +0300
committerFFRaycoder <nn_201312@163.com>2020-05-24 09:44:53 +0300
commitc6de725e9fec600544ca4d6d4b941ce1f59a552b (patch)
treea455214a3b62c84ebf90178b6cf755296203d9ff
parent88be03e974b9197b558610c9735a110806c15647 (diff)
adjacent-posts.html fix: noclick -> status
-rw-r--r--layouts/partials/components/post/adjacent-posts.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/components/post/adjacent-posts.html b/layouts/partials/components/post/adjacent-posts.html
index 10a5258..d6247a3 100644
--- a/layouts/partials/components/post/adjacent-posts.html
+++ b/layouts/partials/components/post/adjacent-posts.html
@@ -3,7 +3,7 @@
{{ $prev := .Scratch.Get "prev" }}
{{ $next := .Scratch.Get "next" }}
{{ if or $prev $next }}
- {{ if and $next (not $next.Params.notclick) }}
+ {{ if and $next (not $next.Params.status) }}
<div>
<div class="index-div-prev">
<h4>{{ i18n "prevPage" }}</h4>
@@ -13,7 +13,7 @@
</div>
</div>
{{ end }}
- {{ if and $prev (not $prev.Params.notclick) }}
+ {{ if and $prev (not $prev.Params.status) }}
<div>
<div class="index-div-next">
<h4>{{ i18n "nextPage" }}</h4>