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

18 lines
428 B
YAML
Raw Permalink Normal View History

main: |
<div id="artalk-container"></div>
head: |
<link href="{{server}}/dist/Artalk.css" rel="stylesheet">
<script src="{{server}}/dist/Artalk.js"></script>
body: |
<script>
window.onload = function() {
new Artalk({
el: '#artalk-container',
pageKey: '{{pageId}}',
pageTitle: '',
server: '{{server}}',
site: '{{siteName}}',
});
};
</script>