summaryrefslogtreecommitdiff
path: root/layouts/section.html
diff options
context:
space:
mode:
authoreltrac <hi@eltr.ac>2026-03-08 11:48:55 +0800
committereltrac <hi@eltr.ac>2026-03-08 11:48:55 +0800
commit66eb897d4d812a76831e6113a1a2ecce0e53be43 (patch)
tree2dc66c25aa1424fc7903193593e4aa7197992469 /layouts/section.html
parentc121a4ef8792f9bc40d3700608dcd2e492d8033b (diff)
docs: move /posts/weekly -> /weekly, a standalone section
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 }}