Change comments params to match code
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
node: document.getElementById("comment-section"),
|
||||
defaultHomeserverUrl: "https://matrix.cactus.chat:8448",
|
||||
serverName: "cactus.chat",
|
||||
siteName: "{{ .account_id | safeJS }}",
|
||||
siteName: "{{ .site_name | safeJS }}",
|
||||
commentSectionId: "{{ $page.RelPermalink | safeJS }}"
|
||||
})
|
||||
</script>
|
||||
|
@@ -4,7 +4,7 @@
|
||||
<div class="mb-3" id="paige-comments">
|
||||
<div id="hyvor-talk-view"></div>
|
||||
<script type="text/javascript">
|
||||
var HYVOR_TALK_WEBSITE = "{{ .account_id | safeJS }}";
|
||||
var HYVOR_TALK_WEBSITE = "{{ .website | safeJS }}";
|
||||
var HYVOR_TALK_CONFIG = {
|
||||
url: false,
|
||||
id: "{{ $page.RelPermalink | safeJS }}"
|
||||
|
@@ -5,7 +5,7 @@
|
||||
<div id="replybox"></div>
|
||||
<script>
|
||||
window.replybox = {
|
||||
site: "{{ .account_id | safeJS }}",
|
||||
site: "{{ .site | safeJS }}",
|
||||
identifier: "{{ $page.RelPermalink | safeJS }}"
|
||||
};
|
||||
</script>
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
{{ with $page.Param "paige.comments.utterances" }}
|
||||
<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>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user