Changed my comments system to Commento++. This works so nicely!
This commit is contained in:
parent
e7eecf7e54
commit
2ca3d447e4
12
layouts/partials/cactus-comments.html
Normal file
12
layouts/partials/cactus-comments.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.cactus.chat:8448",
|
||||||
|
serverName: "cactus.chat",
|
||||||
|
siteName: "zacharybillman",
|
||||||
|
commentSectionId: "{{ .Title }}".replace(/\s+/g, '-'),
|
||||||
|
})
|
||||||
|
</script>
|
@ -1,12 +1,8 @@
|
|||||||
<script type="text/javascript" src="https://latest.cactus.chat/cactus.js"></script>
|
<script defer src="https://commento.zacharybillman.com/js/commento.js"></script>
|
||||||
<link rel="stylesheet" href="https://latest.cactus.chat/style.css" type="text/css">
|
<noscript>
|
||||||
<div id="comment-section"></div>
|
Please enable JavaScript to view the
|
||||||
<script>
|
<a href="https://commento.io" rel="nofollow">
|
||||||
initComments({
|
comments powered by Commento++.
|
||||||
node: document.getElementById("comment-section"),
|
</a>
|
||||||
defaultHomeserverUrl: "https://matrix.cactus.chat:8448",
|
</noscript>
|
||||||
serverName: "cactus.chat",
|
<div id="commento"></div>
|
||||||
siteName: "zacharybillman",
|
|
||||||
commentSectionId: "{{ .Title }}".replace(/\s+/g, '-'),
|
|
||||||
})
|
|
||||||
</script>
|
|
||||||
|
Loading…
Reference in New Issue
Block a user