add cactus comments shortcode
This commit is contained in:
parent
2d7b1990e3
commit
d7e317d0bc
12
layouts/shortcodes/cactus.html
Normal file
12
layouts/shortcodes/cactus.html
Normal 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>
|
Loading…
x
Reference in New Issue
Block a user