wikijs-fork/server/modules/comments/commento/code.yml

13 lines
318 B
YAML
Raw Permalink Normal View History

2020-04-07 02:21:42 +00:00
main: |
<div id="commento"></div>
2020-05-17 02:46:05 +00:00
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>