* 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>
20 lines
1.2 KiB
TOML
20 lines
1.2 KiB
TOML
KaTeX = [
|
|
{ src = "https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.css", integrity = "sha384-n8MVd4RsNIU0tAv4ct0nTaAbDJwPJzDEaqSD1odI+WdtXRGWt2kTvGFasHpSy3SV", type = "style" },
|
|
{ src = "https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.js", integrity = "sha384-XjKyOOlGwcjNTAIQHIpgOno0Hl1YQqzUOEleOLALmuqehneUG+vnGctmUb0ZY0l8", type = "script", defer = true },
|
|
{ src = "https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/contrib/auto-render.min.js", integrity = "sha384-+VBxd3r6XgURycqtZ117nYw44OOcIax56Z4dCRWbxyPt0Koah1uHoK0o4+/RRE05", type = "script", defer = true },
|
|
]
|
|
|
|
Cactus = [
|
|
{ src = "https://latest.cactus.chat/cactus.js", type = "script" },
|
|
{ src = "https://latest.cactus.chat/style.css", type = "style" },
|
|
]
|
|
|
|
[PhotoSwipe]
|
|
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"
|