Skip to content

Commit

Permalink
BREAKING CHANGE:Update Artalk Version to 2.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
penndu committed Dec 22, 2023
1 parent 3980e1e commit 87dc17b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions _cdn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -270,14 +270,14 @@ busuanzi:
artalk_js:
name: artalk
file: dist/Artalk.js
version: 2.6.4
version: 2.7.2
npm: true
static: false
cdnjs: true
artalk_css:
name: artalk
file: dist/Artalk.css
version: 2.6.4
version: 2.7.2
npm: true
static: false
cdnjs: true
Expand Down
2 changes: 1 addition & 1 deletion layout/_plugins/comments/artalk/script.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
path = path.replaceAll('/index.html', '/').replaceAll('.html', '')
}
volantis.artalk = new Artalk(Object.assign(<%- JSON.stringify(theme.comments.artalk) %>, {
Artalk.init(Object.assign(<%- JSON.stringify(theme.comments.artalk) %>, {
el: '#artalk_container',
pageKey: path,
pageTitle: document.title,
Expand Down

0 comments on commit 87dc17b

Please sign in to comment.