fix: make comment module "Artalk" work with newer versions (#6901)

* feat: update comment module "Artalk"
* fix: update code.yml

---------

Co-authored-by: Nicolas Giard <github@ngpixel.com>
This commit is contained in:
CDN 2024-04-25 08:58:53 +08:00 committed by GitHub
parent 3a7ce75a1e
commit f1161aed59
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,7 +6,7 @@ head: |
body: |
<script>
window.onload = function() {
new Artalk({
Artalk.init({
el: '#artalk-container',
pageKey: '{{pageId}}',
pageTitle: '',