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 794340f536
commit de8e9e591e
No known key found for this signature in database
GPG key ID: 02849100E934D92C

View file

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