aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/section.html2
-rw-r--r--layouts/post/single.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/section.html b/layouts/_default/section.html
index 900f4d7..fbe80f1 100644
--- a/layouts/_default/section.html
+++ b/layouts/_default/section.html
@@ -3,7 +3,7 @@
{{ define "content"}}
{{- $paginator := .Paginate .Data.Pages.ByDate.Reverse .Site.Params.archivePaginate }}
<section id="archive" class="archive">
- {{- if not $paginator.HasPrev }}
+ {{- if and (not $paginator.HasPrev) .Site.Params.showArchiveCount }}
<div class="archive-title">
<span class="archive-post-counter">
{{ T "archiveCounter" (len .Data.Pages) }}
diff --git a/layouts/post/single.html b/layouts/post/single.html
index 50e4656..61fbf8c 100644
--- a/layouts/post/single.html
+++ b/layouts/post/single.html
@@ -62,7 +62,7 @@
{{ with .PrevInSection }}
<a class="next" href="{{ .URL }}">
<span class="next-text nav-default">{{ .Title }}</span>
- <span class="prev-text nav-mobile">{{ T "nextPost" }}</span>
+ <span class="next-text nav-mobile">{{ T "nextPost" }}</span>
<i class="iconfont icon-right"></i>
</a>
{{- end }}