summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreltrac <hi@eltr.ac>2026-05-13 14:39:11 +0800
committereltrac <hi@eltr.ac>2026-05-13 14:39:11 +0800
commit415e3bb09ef99a2458fe6d909fa1e21edabe684f (patch)
tree5a4d23890340fe75513baeeaded99a129673c8b3
parentf2322a1e81424824a0336e4dfcb153858f675127 (diff)
remove: unused style of weekly post items
-rw-r--r--layouts/_partials/items/post-small.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/layouts/_partials/items/post-small.html b/layouts/_partials/items/post-small.html
index 28a4a99..03cb1e6 100644
--- a/layouts/_partials/items/post-small.html
+++ b/layouts/_partials/items/post-small.html
@@ -1,6 +1,4 @@
-{{ $isWeekly := (eq .Params.categories "稻草人周刊") }}
-<li class="flex justify-between text-size-lg
- {{ if $isWeekly }} weekly animate-duration-500 transition-opacity{{ end }}">
+<li class="flex justify-between text-size-lg">
<a href="{{ .RelPermalink }}">
{{ .Title }}{{ with .Params.subtitle }}:<span class="text-secondary">{{. }}</span>
{{ end }}