added initial support for cactus comments, put commento comments in its own partial

This commit is contained in:
Gabriele Musco 2021-06-16 09:56:00 +02:00
parent a260f04d1d
commit d7cc1a9192
No known key found for this signature in database
GPG key ID: 8539FD3454380B83
4 changed files with 31 additions and 8 deletions

View file

@ -26,13 +26,7 @@
</p>
{{ end }}
{{- partial "inject/content-after.html" . -}}
{{ if .Site.Params.commento }}
<script
defer
src="{{ .Site.Params.commento }}"
data-no-fonts="true"
></script>
<div id="commento"></div>
{{ end }}
{{- partial "commento.html" . -}}
{{- partial "cactus_chat.html" . -}}
{{- partial "related_articles.html" . -}}
{{ end }}