summaryrefslogtreecommitdiffstats
path: root/layouts
diff options
context:
space:
mode:
authoryingyu5658 <i@yingyu5658.me>2025-12-29 22:29:56 +0800
committeryingyu5658 <i@yingyu5658.me>2025-12-29 22:29:56 +0800
commit03fbc53b6af58e750ef7c6f1c0931394a01145e5 (patch)
tree0083d0319241352af3fa3f1f181d4443ecb18480 /layouts
parent42745471b8a9244b9906eb15538501e5da254d3a (diff)
downloadblog-03fbc53b6af58e750ef7c6f1c0931394a01145e5.tar.gz
blog-03fbc53b6af58e750ef7c6f1c0931394a01145e5.zip
fix: enable comments on all posts by default
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/single.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 8b8f326..21e185f 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -137,7 +137,7 @@
<div class="toc">{{ partial "toc.html" . }}</div>
{{ end }}
-{{ if .Params.comments }}
+{{ if .Params.comments | default true}}
<hr />
<details>
<summary>