summaryrefslogtreecommitdiff
path: root/layouts/_partials/posts/comment.html
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-07-24 17:09:26 +0800
committerEltrac <hi@guhub.cn>2025-07-24 17:09:26 +0800
commitc476bb450e62fd7cb8bdf22d45c4422f92c1cc8f (patch)
tree87a9cb71740f8c89a1365545193177711bd40f92 /layouts/_partials/posts/comment.html
parent6919c72d9e20a41575fecf1828d414fd02519ceb (diff)
refactor: replace some utility classes with UnoCSS
Diffstat (limited to 'layouts/_partials/posts/comment.html')
-rw-r--r--layouts/_partials/posts/comment.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_partials/posts/comment.html b/layouts/_partials/posts/comment.html
index 2a0f1027..49638618 100644
--- a/layouts/_partials/posts/comment.html
+++ b/layouts/_partials/posts/comment.html
@@ -2,17 +2,17 @@
{{ with .Params.comments }}
<!-- Static Comments -->
<div class="my-8">
- <p class="font-secondary">{{ T "postPage.staticCommentsSectionHeader" }}</p>
+ <p class="text-secondary">{{ T "postPage.staticCommentsSectionHeader" }}</p>
{{ range . }}
<div class="text-xl border-b border-solid border-[#ccc] py-4 px-1">
<div class="mb-4 flex justify-between">
<span class="font-bold">{{ .name }}</span>
- <span class="font-secondary">{{ .date }}</span>
+ <span class="text-secondary">{{ .date }}</span>
</div>
<div>
{{ .content | safeHTML }}
</div>
- <div class="text-4 text-right font-secondary">
+ <div class="text-4 text-right text-secondary">
{{ with .source }}
<p class="font-mono">{{ T "postPage.originallyPostedOn" . }}</p>
{{ end }}