Changed my comments system to Commento++. This works so nicely!

This commit is contained in:
Zachary Billman 2022-05-15 10:49:52 -04:00
parent e7eecf7e54
commit 2ca3d447e4
2 changed files with 20 additions and 12 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.cactus.chat:8448",
serverName: "cactus.chat",
siteName: "zacharybillman",
commentSectionId: "{{ .Title }}".replace(/\s+/g, '-'),
})
</script>

View File

@ -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>