add support for cactus comments

This commit is contained in:
ch0ccyra1n 2022-11-01 11:51:15 -07:00
parent 37a5508176
commit 54239967c2
4 changed files with 22 additions and 1 deletions

View file

@ -42,3 +42,6 @@ To add one more to that list, I introduce [Emerald Social](https://emeraldsocial
In essence, it serves the same purpose as the aforementioned instances but for Eugene. Instead of being a proprietary NIMBY haven, Emerald Social seeks to be a welcoming and friendly space for locals to discuss local issues, while still being able to follow accounts on other instances.
What are you waiting for? [Join Emerald Social](https://emeraldsocial.org/about) today!
### Comments
{{< chat cactus-comments >}}

View file

@ -51,3 +51,6 @@ https://<website>/feed
### Other
Often, many websites will have an RSS icon such as this one ![RSS Icon](https://www.rssboard.org/images/rss-icon.png) or a link labeled [RSS](https://ch0ccyra1n.gitlab.io/posts/index.xml) that will take you to an RSS feed for that website. For example, the one on the front page of this website. Alternatively, a website may have a page that lists multiple feeds, such as on [Deutsche Welle](https://www.dw.com/en/rss/s-31500).
### Comments
{{< chat cactus-comments >}}

View file

@ -10,4 +10,7 @@ Hello there!
I made this blog to talk about pretty much whatever I feel like in long form.
Okay, bye!
Okay, bye!
### Comments
{{< chat cactus-comments >}}

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://planetexpress.me:8448",
serverName: "planetexpress.me",
siteName: "ch0ccyra1n.gitlab.io",
commentSectionId: "{{ index .Params 0 }}"
})
</script>