feat: support Artalk comment system (#1306)

* feat: support artalk comment system

* chore: change url from testingcf to cdn prefix

* refactor(comments): align artalk provider style and keep custom css overrides

* fix: update Artalk CDN links to use the correct URL

* refactor(comments): simplify Artalk implementation

* fix(artalk): update script tag to use ESM for Artalk

* fix(artalk): set locale to 'auto' for Artalk comments

* refactor: move artalk style and script link to external.toml

---------

Co-authored-by: Jimmy Cai <jimmy@cai.im>
This commit is contained in:
powerfullz
2026-04-26 18:05:54 +02:00
committed by GitHub
co-authored by Jimmy Cai
parent df9253a8e9
commit 55340540b5
4 changed files with 118 additions and 0 deletions
+4
View File
@@ -13,3 +13,7 @@ Cactus = [
Style = "https://cdn.jsdelivr.net/npm/photoswipe@5.4.4/dist/photoswipe.css"
Core = "https://cdn.jsdelivr.net/npm/photoswipe@5.4.4/dist/photoswipe.esm.min.js"
Lightbox = "https://cdn.jsdelivr.net/npm/photoswipe@5.4.4/dist/photoswipe-lightbox.esm.min.js"
[Artalk]
Style = "https://cdn.jsdelivr.net/npm/artalk@2.9.1/dist/Artalk.css"
Script = "https://cdn.jsdelivr.net/npm/artalk@2.9.1/+esm"