diff --git a/layout/_plugins/comments/artalk/script.ejs b/layout/_plugins/comments/artalk/script.ejs index f3a860cf7..6b3fe0729 100644 --- a/layout/_plugins/comments/artalk/script.ejs +++ b/layout/_plugins/comments/artalk/script.ejs @@ -24,7 +24,7 @@ path = path.replaceAll('/index.html', '/').replaceAll('.html', '') } - Artalk.init(Object.assign(<%- JSON.stringify(theme.comments.artalk) %>, { + volantis.artalk = Artalk.init(Object.assign(<%- JSON.stringify(theme.comments.artalk) %>, { el: '#artalk_container', pageKey: path, pageTitle: document.title,