summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-08-22 13:16:14 +0800
committerEltrac <hi@guhub.cn>2025-08-22 13:16:14 +0800
commit87f0e58a5ce1a328270250ba03768b54962f963f (patch)
tree383044bd0ce3b51e86e2050ed340b9c1982b8ce7
parent06d359f577ea795f5af9f25a7acea7845039804d (diff)
feat: more relaxed line height of post summary
-rw-r--r--layouts/_partials/items/post.html4
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 }}