Add cusdis comments

master
Will Faught 12 months ago
parent 6f5f6e0267
commit 2e08775930

@ -252,6 +252,10 @@ account_id = ""
[paige.comments.commento] # See https://commento.io
script_url = ""
[paige.comments.cusdis] # See https://cusdis.com
app_id = ""
host_url = ""
[paige.comments.graphcomment] # See https://graphcomment.com
account_id = ""

@ -0,0 +1,6 @@
{{ $page := . }}
{{ with $page.Param "paige.comments.cusdis" }}
<div class="mb-3" data-app-id="{{ .app_id }}" data-host="{{ .host_url }}" data-page-id="{{ $page.RelPermalink }}" data-page-title="{{ $page.Title }}" data-page-url="{{ $page.Permalink }}" id="cusdis_thread"></div>
<script async src="{{ .script_url | default `https://cusdis.com/js/cusdis.es.js` }}"></script>
{{ end }}
Loading…
Cancel
Save