feat: add artalk comment module (#5868)
Co-authored-by: Nicolas Giard <github@ngpixel.com>
This commit is contained in:
17
server/modules/comments/artalk/code.yml
Normal file
17
server/modules/comments/artalk/code.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
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>
|
Reference in New Issue
Block a user