Add comments flag to enable/disable comments per page

This commit is contained in:
Djordje Atlialp 2019-01-28 02:12:09 +01:00
parent bffaf0150b
commit 2adbaf57e7
1 changed files with 5 additions and 3 deletions

View File

@ -72,8 +72,10 @@
</div>
{{ end }}
<div id="comments" class="thin">
{{- partial "comments.html" . -}}
</div>
{{ if .Params.comments }}
<div id="comments" class="thin">
{{- partial "comments.html" . -}}
</div>
{{ end }}
</main>
{{ end }}