aboutsummaryrefslogtreecommitdiff
path: root/themes/simple/layouts/partials/comments.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/simple/layouts/partials/comments.html')
-rw-r--r--themes/simple/layouts/partials/comments.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/themes/simple/layouts/partials/comments.html b/themes/simple/layouts/partials/comments.html
new file mode 100644
index 0000000..dd73bb4
--- /dev/null
+++ b/themes/simple/layouts/partials/comments.html
@@ -0,0 +1,20 @@
1<section class="comments">
2 <p class="mb-4">You can write me an email at <a href="mailto:m@mitjafelicijan.com" class="underline hover:bg-yellow-100">m@mitjafelicijan.com</a> or comment bellow.</p>
3 <div id="comment-section"></div>
4
5 <script type="text/javascript" src="https://latest.cactus.chat/cactus.js"></script>
6 <link rel="stylesheet" href="_https://latest.cactus.chat/style.css" type="text/css">
7
8 <script>
9 window.addEventListener('load', () => {
10 initComments({
11 node: document.getElementById("comment-section"),
12 defaultHomeserverUrl: "https://matrix.cactus.chat:8448",
13 serverName: "cactus.chat",
14 siteName: "mitjafelicijan.com",
15 commentSectionId: "{{.File}}",
16 updateInterval: 15
17 });
18 });
19 </script>
20</section>