diff options
| author | Eltrac <hi@guhub.cn> | 2025-08-22 13:16:14 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-08-22 13:16:14 +0800 |
| commit | 87f0e58a5ce1a328270250ba03768b54962f963f (patch) | |
| tree | 383044bd0ce3b51e86e2050ed340b9c1982b8ce7 | |
| parent | 06d359f577ea795f5af9f25a7acea7845039804d (diff) | |
feat: more relaxed line height of post summary
| -rw-r--r-- | layouts/_partials/items/post.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_partials/items/post.html b/layouts/_partials/items/post.html index eebe7eea..5cdec34a 100644 --- a/layouts/_partials/items/post.html +++ b/layouts/_partials/items/post.html @@ -21,7 +21,7 @@ {{ end }} </a> {{ if eq .ctx.Section "fictions" }} - <span class="font-normal text-4 text-[var(--secondary-text-color)]">小说</span> + <span class="font-normal text-4 text-secondary">小说</span> {{ end }} </h2> </div> @@ -32,7 +32,7 @@ {{ end }} </header> {{ if or $showSummary .ctx.Params.description }} - <div class="markdown-body text-size-lg!" + <div class="markdown-body text-size-lg! leading-relaxed" style="view-transition-name: post-content-{{ .File.UniqueID }}"> {{ if $showSummary }} {{ .ctx.Summary }} |
