Make blog list cards fully clickable

This commit is contained in:
2026-11-15 09:18:36 +08:00
parent 8b13c76513
commit 88c8c36d02
4 changed files with 33 additions and 28 deletions
+1 -1
View File
@@ -18,7 +18,7 @@
{{- /* 整块卡片即一个链接:框内任意位置点击都进入文章 */}}
<a
href="{{ $p.RelPermalink }}"
class="home-post-item{{ if ge $i $batch }} hx:hidden{{ end }}"
class="home-post-item post-card{{ if ge $i $batch }} hx:hidden{{ end }}"
data-index="{{ $i }}"
>
<h3 class="hx:text-xl">{{ $p.Title }}</h3>