Match the top label to the article breadcrumb

This commit is contained in:
2026-11-15 20:12:35 +08:00
parent 7fda08046a
commit 2decef4ab3
6 changed files with 14 additions and 10 deletions
+1 -2
View File
@@ -10,7 +10,6 @@
class="hx:w-full hx:min-w-0 hextra-max-content-width hx:px-6 hx:pt-0 hx:md:px-12"
>
{{ partial "breadcrumb.html" (dict "page" . "enable" false) }}
<br class="hx:mt-1.5 hx:text-sm" />
<div class="content">{{ .Content }}</div>
{{- $pages := partial "utils/sort-pages" (dict "page" . "by"
@@ -19,7 +18,7 @@
site.Params.blog.list.pagerSize | default 10 }} {{- $total := len
$pages }}
<div id="post-list">
<div id="post-list" class="blog-index">
{{- range $i, $p := $pages }}
{{- /* 整块卡片即一个链接:框内任意位置点击都进入文章;
标签放在卡片外面,保证标签本身仍是可点链接 */}}