mirror of
https://github.com/tomfran/typo.git
synced 2025-04-25 21:19:55 +03:00
Adding features to disable comment on specific post
This commit is contained in:
parent
1eea39761e
commit
b3c35f92dd
1 changed files with 2 additions and 0 deletions
|
@ -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" }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue