diff options
author | Senophyx <lyquidpersonal@gmail.com> | 2024-12-25 14:01:41 +0700 |
---|---|---|
committer | Senophyx <lyquidpersonal@gmail.com> | 2024-12-25 14:01:41 +0700 |
commit | 07e60705817cee0864140e35e7ffdd455e647169 (patch) | |
tree | d25ce7e59255d1bf46cc474170d8cdfebd6e2abd /layouts | |
parent | 15f98f63151df0e8b6ebf1419feb65563a386a6b (diff) |
Adding features to disable comment on specific post
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/single.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 308ee5b..a077f47 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -65,9 +65,11 @@ <div class="single-content"> {{ .Content }} + {{ if not .Params.disableComment }} {{ if .Site.Params.giscus.enable }} {{ partial "comments.html" . }} {{ end }} + {{ end }} </div> {{ if .Store.Get "hasMermaid" }} |