Skip to content

Commit

Permalink
Added cactus comments feature to blog root
Browse files Browse the repository at this point in the history
Might add to each page later, but this is just a test for now.
  • Loading branch information
huffstler committed Dec 21, 2023
1 parent 4a4b01e commit 34a6dff
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,22 @@
<meta name="author" content="huffstler">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="My blog; Full of words and opinions.">
<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">
<link rel="stylesheet" href="https://unpkg.com/sakura.css/css/sakura-earthly.css" type="text/css">
<title>My Blog; Not-so full of words and opinions.</title
</head>

<script>
initComments({
node: document.getElementById("comment-section"),
defaultHomeserverUrl: "https://matrix.cactus.chat:8448",
serverName: "cactus.chat",
siteName: "huffstlerBlog",
commentSectionId: "section1"
})
</script>

<body>
<h1>My blog.</h1>
<q>Thoughts given form.</q>
Expand All @@ -35,6 +47,7 @@ <h1>My blog.</h1>
<li> <a href="srv/firstpost.html"> First post! </a> </li>
<li> <a href="srv/inputHooks.html"> Creating an input element with React Hooks</a> </li>
</ul>
<div id="comment-section"></div>
</body>

<hr/>
Expand Down

0 comments on commit 34a6dff

Please sign in to comment.