diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-01-26 11:36:44 +0100 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-01-26 11:36:44 +0100 |
| commit | d95fc5ca9e6a9c28894514b77e77b6b0eb58fbe9 (patch) | |
| tree | 7a4280e072382c09ac76b9da4e7b82f4170699db /themes/simple/layouts/partials/comments.html | |
| parent | c67c1800f22e66b7f11c904ff8fdee6947f91c07 (diff) | |
| download | mitjafelicijan.com-d95fc5ca9e6a9c28894514b77e77b6b0eb58fbe9.tar.gz | |
A bunch of theme changes and removal of Cactus comments
Diffstat (limited to 'themes/simple/layouts/partials/comments.html')
| -rwxr-xr-x | themes/simple/layouts/partials/comments.html | 30 |
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> | ||
