add support for cactus comments
This commit is contained in:
parent
37a5508176
commit
54239967c2
4 changed files with 22 additions and 1 deletions
|
@ -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 >}}
|
|
@ -51,3 +51,6 @@ https://<website>/feed
|
|||
|
||||
### Other
|
||||
Often, many websites will have an RSS icon such as this one  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 >}}
|
|
@ -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 >}}
|
12
layouts/shortcodes/chat.html
Normal file
12
layouts/shortcodes/chat.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://planetexpress.me:8448",
|
||||
serverName: "planetexpress.me",
|
||||
siteName: "ch0ccyra1n.gitlab.io",
|
||||
commentSectionId: "{{ index .Params 0 }}"
|
||||
})
|
||||
</script>
|
Loading…
Add table
Reference in a new issue