wikijs-fork/server/modules/comments/commento/code.yml
2020-05-21 00:20:57 -04:00

13 lines
318 B
YAML

main: |
<div id="commento"></div>
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>