From 517a377ff34ce3c3d2f65570e2a498f9555a4fe7 Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Fri, 6 Feb 2026 17:06:10 -0800 Subject: [PATCH 1/2] Add text to encourage comments on blog post; invisible by default --- assets/theme-css/posts.css | 4 ++++ layouts/partials/posts/post.html | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/assets/theme-css/posts.css b/assets/theme-css/posts.css index 4e8aeae7..e26417a4 100644 --- a/assets/theme-css/posts.css +++ b/assets/theme-css/posts.css @@ -85,6 +85,10 @@ margin-right: 1.25rem; } +.post-please-comment { + display: none; +} + .read-more { font-style: italic; } diff --git a/layouts/partials/posts/post.html b/layouts/partials/posts/post.html index 4c14b1d2..3ee23586 100644 --- a/layouts/partials/posts/post.html +++ b/layouts/partials/posts/post.html @@ -6,7 +6,9 @@

{{ .Title }}

{{ if .Params.Subtitle }}
{{ .Params.Subtitle }}
{{ end }} -
{{ partial "posts/meta.html" . }}
+
{{ partial "posts/meta.html" . }} + 🖊️ Please add your comments below! +
{{ with $featuredImage }} {{ if .Params.showOnTop }} From decc6bc4a5acd153c63558ae3bd686e657c35d4d Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Mon, 9 Feb 2026 14:35:00 -0800 Subject: [PATCH 2/2] Use post-specific CSS class name Co-authored-by: Agriya Khetarpal <74401230+agriyakhetarpal@users.noreply.github.com> --- layouts/partials/posts/post.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/posts/post.html b/layouts/partials/posts/post.html index 3ee23586..bf93ea71 100644 --- a/layouts/partials/posts/post.html +++ b/layouts/partials/posts/post.html @@ -7,7 +7,7 @@

{{ .Title }}

{{ .Params.Subtitle }}
{{ end }}
{{ with $featuredImage }}