add cactus comments shortcode

This commit is contained in:
tastytea 2023-02-07 13:37:32 +01:00
parent 2d7b1990e3
commit d7e317d0bc
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
<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.tastytea.de",
serverName: "tastytea.de",
siteName: "blog.tastytea.de",
commentSectionId: "{{ index .Params 0 }}"
})
</script>