Try to use cactus.chat comments for each post.

This commit is contained in:
Zachary Billman 2022-05-01 11:23:03 -04:00
parent f6d26143ac
commit d4367a7a29
2 changed files with 13 additions and 7 deletions

View File

@ -4,7 +4,7 @@ title: Zachary Billman's Blog
theme: "PaperMod" theme: "PaperMod"
enableRobotsTXT: true enableRobotsTXT: true
disqusShortname: zacharybillman # disqusShortname: zacharybillman # Deactivated to try cactus.chat
params: params:
env: production env: production
@ -50,11 +50,6 @@ params:
- name: All Posts - name: All Posts
url: posts url: posts
# home-info mode
homeInfoParams:
Title: "Greetings. \U0001F44B"
Content: Welcome to my humble blog, where I say a little about... not much. Clearly, there's nothing here now, but in the coming weeks hopefully I'll flesh this out a bit. Who knows though? Maybe I won't!
socialIcons: socialIcons:
- name: twitter - name: twitter
url: "https://twitter.com/zacharypbillman" url: "https://twitter.com/zacharypbillman"

View File

@ -1 +1,12 @@
{{ template "_internal/disqus.html" . }} <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: "{{ index .Params 0 }}"
})
</script>