aboutsummaryrefslogtreecommitdiff
path: root/themes/simple/layouts/partials/comments.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/simple/layouts/partials/comments.html')
-rwxr-xr-xthemes/simple/layouts/partials/comments.html30
1 files changed, 10 insertions, 20 deletions
diff --git a/themes/simple/layouts/partials/comments.html b/themes/simple/layouts/partials/comments.html
index b905967..bd26145 100755
--- a/themes/simple/layouts/partials/comments.html
+++ b/themes/simple/layouts/partials/comments.html
@@ -1,21 +1,11 @@
1<section class="comments"> 1<section class="comments">
2 <h2 class="text-xl font-bold mb-2">Leave a comment</h2> 2 <h2 class="text-xl font-bold mb-2">Care to leave a comment?</h2>
3 <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 <p class="mb-4">You can write me an email at
4 <div id="comment-section"></div> 4 <a href="mailto:m@mitjafelicijan.com"
5 5 class="underline-offset-2 decoration-1 decoration-wavy underline hover:bg-yellow-100">m@mitjafelicijan.com</a>
6 <script type="text/javascript" src="https://latest.cactus.chat/cactus.js"></script> 6 or catch up with me
7 7 <a href="https://telegram.me/mitjafelicijan" target="_blank"
8 <script> 8 class="underline-offset-2 decoration-1 decoration-wavy underline hover:bg-yellow-100">on
9 window.addEventListener('load', () => { 9 Telegram</a>.
10 initComments({ 10 </p>
11 node: document.getElementById("comment-section"), 11</section> \ No newline at end of file
12 defaultHomeserverUrl: "https://matrix.cactus.chat:8448",
13 serverName: "cactus.chat",
14 siteName: "mitjafelicijan.com",
15 commentSectionId: "{{ .File }}",
16 pageSize: 50,
17 updateInterval: 10,
18 });
19 });
20 </script>
21</section>