summaryrefslogtreecommitdiff
path: root/layouts/section.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/section.html')
-rw-r--r--layouts/section.html7
1 files changed, 0 insertions, 7 deletions
diff --git a/layouts/section.html b/layouts/section.html
index 7497a217..5b5cb33a 100644
--- a/layouts/section.html
+++ b/layouts/section.html
@@ -11,10 +11,6 @@
{{ 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 }}
{{ range $pages.GroupByDate "2006" -}}
@@ -32,8 +28,6 @@
</h2>
<ul class="ps-0 flex flex-col gap-2 list-none leading-relaxed">
{{ range .Pages }}
- {{ $isWeekly := (eq .Params.categories "稻草人周刊") }}
- {{ if not (eq .Params.categories "稻草人周刊") }}
<li class="flex gap-4 text-size-lg">
<span class="text-size-xs h-5 font-mono text-secondary flex-shrink-0
inline-block border-1 border-solid border-t-5 px-1
@@ -46,7 +40,6 @@
</a>
</li>
{{ end }}
- {{ end }}
</ul>
</div>
{{ $remainingMonthsToOpen = sub $remainingMonthsToOpen 1 }}