Match the top label to the article breadcrumb
This commit is contained in:
@@ -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 }}
|
||||
{{- /* 整块卡片即一个链接:框内任意位置点击都进入文章;
|
||||
标签放在卡片外面,保证标签本身仍是可点链接 */}}
|
||||
|
||||
Reference in New Issue
Block a user