Change comments params to match code

master
Will Faught 12 months ago
parent 61076ec1e5
commit f353f1e61a

@ -247,7 +247,7 @@ disable = false # Disable all comments
disable_kinds = [] # Page kinds to disable comments for. Examples: ["list"], ["page", "term"]. disable_kinds = [] # Page kinds to disable comments for. Examples: ["list"], ["page", "term"].
[paige.comments.cactus] # See https://cactus.chat [paige.comments.cactus] # See https://cactus.chat
account_id = "" site_name = ""
[paige.comments.commento] # See https://commento.io [paige.comments.commento] # See https://commento.io
script_url = "" script_url = ""
@ -260,7 +260,7 @@ host_url = ""
account_id = "" account_id = ""
[paige.comments.hyvor] # See https://hyvor.com [paige.comments.hyvor] # See https://hyvor.com
account_id = "" website = ""
[paige.comments.intensedebate] # See https://intensedebate.com [paige.comments.intensedebate] # See https://intensedebate.com
account_id = "" account_id = ""
@ -273,10 +273,10 @@ host_url = ""
site_id = "" site_id = ""
[paige.comments.replybox] # See https://getreplybox.com [paige.comments.replybox] # See https://getreplybox.com
account_id = "" site = ""
[paige.comments.utterances] # See https://utteranc.es [paige.comments.utterances] # See https://utteranc.es
github_repo = "" repo = ""
[paige.feed] [paige.feed]
disable = false # Exclude the page from feeds disable = false # Exclude the page from feeds

@ -10,7 +10,7 @@
node: document.getElementById("comment-section"), node: document.getElementById("comment-section"),
defaultHomeserverUrl: "https://matrix.cactus.chat:8448", defaultHomeserverUrl: "https://matrix.cactus.chat:8448",
serverName: "cactus.chat", serverName: "cactus.chat",
siteName: "{{ .account_id | safeJS }}", siteName: "{{ .site_name | safeJS }}",
commentSectionId: "{{ $page.RelPermalink | safeJS }}" commentSectionId: "{{ $page.RelPermalink | safeJS }}"
}) })
</script> </script>

@ -4,7 +4,7 @@
<div class="mb-3" id="paige-comments"> <div class="mb-3" id="paige-comments">
<div id="hyvor-talk-view"></div> <div id="hyvor-talk-view"></div>
<script type="text/javascript"> <script type="text/javascript">
var HYVOR_TALK_WEBSITE = "{{ .account_id | safeJS }}"; var HYVOR_TALK_WEBSITE = "{{ .website | safeJS }}";
var HYVOR_TALK_CONFIG = { var HYVOR_TALK_CONFIG = {
url: false, url: false,
id: "{{ $page.RelPermalink | safeJS }}" id: "{{ $page.RelPermalink | safeJS }}"

@ -5,7 +5,7 @@
<div id="replybox"></div> <div id="replybox"></div>
<script> <script>
window.replybox = { window.replybox = {
site: "{{ .account_id | safeJS }}", site: "{{ .site | safeJS }}",
identifier: "{{ $page.RelPermalink | safeJS }}" identifier: "{{ $page.RelPermalink | safeJS }}"
}; };
</script> </script>

@ -2,7 +2,7 @@
{{ with $page.Param "paige.comments.utterances" }} {{ with $page.Param "paige.comments.utterances" }}
<div class="mb-3" id="paige-comments"> <div class="mb-3" id="paige-comments">
<script async crossorigin="anonymous" issue-term="pathname" repo="{{ .github_repo }}" src="https://utteranc.es/client.js" theme="preferred-color-scheme"></script> <script async crossorigin="anonymous" issue-term="pathname" repo="{{ .repo }}" src="https://utteranc.es/client.js" theme="preferred-color-scheme"></script>
<noscript>{{ i18n "paige_noscript" }}</noscript> <noscript>{{ i18n "paige_noscript" }}</noscript>
</div> </div>
{{ end }} {{ end }}

Loading…
Cancel
Save