From 5e73b0ea72abf12779d1f8fdd4f3f064179c30db Mon Sep 17 00:00:00 2001 From: Reorx Date: Fri, 27 Jan 2023 20:59:36 +0800 Subject: [PATCH] move the line from .post-footer to .comment-separator --- assets/css/common/post-single.css | 5 ++++- layouts/_default/single.html | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/assets/css/common/post-single.css b/assets/css/common/post-single.css index 67b44eb..26ce3ce 100644 --- a/assets/css/common/post-single.css +++ b/assets/css/common/post-single.css @@ -405,7 +405,10 @@ h6:hover .anchor { .post-footer { margin-top: calc(var(--content-gap) * 1.5); padding-bottom: calc(var(--content-gap) * 2); - border-bottom: 3px solid var(--tertiary); +} +.comments-separator { + height: 3px; + background-color: var(--tertiary); } .share-buttons { diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 1a8d06f..1de847b 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -68,6 +68,7 @@ {{- if not (.Param "noComments") }} +
{{- partial "comments.html" . }} {{- end }}