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 authored and 0fuling0 committed Sep 30, 2024
1 parent 78a292d commit e3764d1
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 e3764d1

Please sign in to comment.