Adding features to disable comment on specific post

This commit is contained in:
Senophyx 2024-12-25 14:01:41 +07:00
parent 1eea39761e
commit b3c35f92dd

View file

@ -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" }}