feat: comments disqus + commento
This commit is contained in:
1 parent
f6bad765a2
commit
887e8a0f5a
20 files changed
+212
-81
No files matched your search
@@ -1,4 +1,12 @@
|
||||
main: |
|
||||
<div id="commento"></div>
|
||||
bodyEnd: |
|
||||
<script defer src="{{instanceUrl}}/js/commento.js"></script>
|
||||
body: |
|
||||
<script>
|
||||
window.onload = function() {
|
||||
var d = document, s = d.createElement('script');
|
||||
s.src = '{{instanceUrl}}/js/commento.js';
|
||||
s.defer = true
|
||||
s.setAttribute('data-auto-init', true);
|
||||
(d.head || d.body).appendChild(s);
|
||||
};
|
||||
</script>
|
||||
Reference in new issue
Block a user