summaryrefslogtreecommitdiff
path: root/layouts/section.html
diff options
context:
space:
mode:
authorBigCoke233 <hi@guhub.cn>2026-01-29 23:40:07 +0800
committerBigCoke233 <hi@guhub.cn>2026-01-29 23:40:07 +0800
commit9b8d0993c5b53afc3926e92013a1c33c93b7984d (patch)
tree51da86f9e16d48d9f055d6629f1e8af1e52b627c /layouts/section.html
parent0d663d41745f374c10ba2dfdcf9d55865218d0d7 (diff)
fix: some multilingual issues
- hide Chinese-specific info in English posts page - fix archive page link
Diffstat (limited to 'layouts/section.html')
-rw-r--r--layouts/section.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/section.html b/layouts/section.html
index 444e52d3..a70c6cd1 100644
--- a/layouts/section.html
+++ b/layouts/section.html
@@ -10,7 +10,10 @@
<div class="markdown-body">{{ .Content }}</div>
{{ partial "section-categories" $pages }}
+
+ {{ if eq .Site.Language.Lang "zh" }}
<p class="text-secondary text-sm">*稻草人周刊也属于散文集,但为了方便查阅,周刊没有列在下面,请到<a href="/categories/稻草人周刊/">分类页面</a>查看周刊。</p>
+ {{ end }}
<!-- Post Archive List -->
{{ $remainingMonthsToOpen := 3 }}