Give article and list titles one shared style

This commit is contained in:
2026-11-15 20:27:40 +08:00
parent c3a25718ef
commit f127486b99
3 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -27,7 +27,7 @@
data-index="{{ $i }}"
>
<a href="{{ $p.RelPermalink }}" class="post-card">
<h3 class="hx:text-2xl">{{ $p.Title }}</h3>
<h3 class="post-title">{{ $p.Title }}</h3>
<p class="hx:opacity-50 hx:text-sm hx:mt-1 hx:leading-7">
{{ partial "utils/format-date" $p.Date }}
</p>
+1 -1
View File
@@ -15,7 +15,7 @@
class="hx:flex hx:flex-col hx:sm:flex-row hx:items-start hx:sm:items-center hx:sm:justify-between hx:gap-4 hx:mt-2"
>
<h1
class="hx:mb-0 hx:text-4xl hx:font-bold hx:tracking-tight hx:text-slate-900 hx:dark:text-slate-100"
class="post-title hx:mb-0"
>
{{ .Title }}
</h1>