Add cusdis comments

This commit is contained in:
Will Faught
2024-07-20 12:04:15 -07:00
parent 6f5f6e0267
commit 2e08775930
2 changed files with 10 additions and 0 deletions

View File

@@ -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 = ""

View File

@@ -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 }}