documented post params, added param to disable comments for post

This commit is contained in:
Gabriele Musco 2021-06-28 11:53:28 +02:00
parent cc8ade35b9
commit ea8f8057f9
No known key found for this signature in database
GPG key ID: 8539FD3454380B83
3 changed files with 12 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{{ if site.Params.cactusCommentsSiteName }}
{{ if and site.Params.cactusCommentsSiteName (.Params.comments | default true) }}
<script type="text/javascript" src="https://latest.cactus.chat/cactus.js"></script>
<link rel="stylesheet" href="https://latest.cactus.chat/style.css" type="text/css">

View file

@ -1,4 +1,4 @@
{{ if .Site.Params.commento }}
{{ if and .Site.Params.commento (.Params.comments | default true) }}
<script
defer
src="{{ .Site.Params.commento }}"