Change comments params to match code

This commit is contained in:
Will Faught
2024-07-20 12:25:17 -07:00
parent 61076ec1e5
commit f353f1e61a
5 changed files with 8 additions and 8 deletions

View File

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

View File

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

View File

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

View File

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