Add cusdis comments
This commit is contained in:
@@ -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 = ""
|
||||
|
||||
|
6
layouts/partials/paige/comments/cusdis.html
Normal file
6
layouts/partials/paige/comments/cusdis.html
Normal 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 }}
|
Reference in New Issue
Block a user