feat(comments): add commento.io comment system (#255)

This commit is contained in:
Nir Galon
2020-04-24 18:28:47 +03:00
committed by GitHub
parent c2197b7411
commit f588881216
7 changed files with 26 additions and 2 deletions

View File

@@ -100,6 +100,15 @@
Please enable JavaScript to view the comments powered by <a href="https://comments.app/">Telegram Comments</a>.
</noscript>
{{- end -}}
{{- /* Commento Comment System */ -}}
{{- if $comment.commento.enable -}}
<div id="commento"></div>
{{- dict "source" "https://cdn.commento.io/js/commento.js" "defer" true | dict "scratch" $.Scratch "data" | partial "scratch/script.html" -}}
<noscript>
Please enable JavaScript to view the comments powered by <a href="https://commento.io/">Commento</a>.
</noscript>
{{- end -}}
</div>
{{- end -}}