You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
781 B
HTML
20 lines
781 B
HTML
{{ $page := . }}
|
|
|
|
{{ if $page.Param "paige.comments.cactus" }}
|
|
<div class="mb-3">
|
|
<script type="text/javascript" src="https://latest.cactus.chat/cactus.js"></script>
|
|
<link rel="stylesheet" href="https://latest.cactus.chat/style.css" type="text/css">
|
|
<div id="comment-section"></div>
|
|
<script>
|
|
initComments({
|
|
node: document.getElementById("comment-section"),
|
|
defaultHomeserverUrl: "https://matrix.cactus.chat:8448",
|
|
serverName: "cactus.chat",
|
|
siteName: "{{ $page.Param `paige.comments.cactus.account_id` | safeJS }}",
|
|
commentSectionId: "{{ $page.RelPermalink | safeJS }}"
|
|
})
|
|
</script>
|
|
<noscript>{{ i18n "paige_noscript" }}</noscript>
|
|
</div>
|
|
{{ end }}
|