diff options
Diffstat (limited to '_includes/commentNotice.html')
-rw-r--r-- | _includes/commentNotice.html | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/_includes/commentNotice.html b/_includes/commentNotice.html index a46dadf..ec47cf5 100644 --- a/_includes/commentNotice.html +++ b/_includes/commentNotice.html @@ -12,8 +12,8 @@ <p>Kommentare werden von mir selbst auf einem anderen Server über <a href="https://isso-comments.de/">Isso</a> gehostet.</p> <p>Comments are hosted by myself on another server, powered by <a href="https://isso-comments.de/">Isso</a>.</p> - <script data-isso="//c.uvokchee.de/" data-isso-require-author=true data-isso-vote=false - src="//c.uvokchee.de/js/embed.min.js"></script> + <script data-isso="https://c.uvokchee.de/" data-isso-require-author=true data-isso-vote=false + src="https://c.uvokchee.de/js/embed.min.js"></script> <section id="isso-thread"> {% if jekyll.environment == "development" %} {% include testc.html %} @@ -21,20 +21,15 @@ </section> <h3>Fediverse</h3> - <script type="module"> - import Comments from '{{ "/assets/mscomm/comments.js" | relative_url }}' - export function loadComments() { - document.getElementById('load-comments-btn').remove(); - customElements.define('oom-comments', Comments); - } - window.loadComments = loadComments; - </script> + <script type="module" src="/assets/js/fc.js"></script> <link rel="stylesheet" href="{{ "/assets/mscomm/styles.css" | relative_url }}?v={{ site.cssversion }}"> <oom-comments src="{{ src_url }}"> - <button id="load-comments-btn" class="load-comments-btn" onclick="loadComments()">Load Comments from - ActivityPub</button> + <button id="load-comments-btn" class="load-comments-btn"> + Load Comments from ActivityPub + </button> + <script src="/assets/js/fcac.js"></script> </oom-comments> - <p style="margin-top: 1em"><a href="{{ src_url }}">ActivityPub-Link</a></p> + <p class="topspace"><a href="{{ src_url }}">ActivityPub-Link</a></p> <noscript> <p>Um Kommentare zu hinterlassen, ist leider JavaScript nötig.</p> |