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>
|
||||
<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>
|
||||
<script defer src="https://commento.zacharybillman.com/js/commento.js"></script>
|
||||
<noscript>
|
||||
Please enable JavaScript to view the
|
||||
<a href="https://commento.io" rel="nofollow">
|
||||
comments powered by Commento++.
|
||||
</a>
|
||||
</noscript>
|
||||
<div id="commento"></div>
|
||||
|
Loading…
Reference in New Issue
Block a user