astro-theme-ink v0.2.0 ๐๏ธ
New features
- ๐ KaTeX math rendering โ
$...$/$$...$$in Markdown (remark-math + rehype-katex), dark-mode aware, long formulas scroll horizontally - ๐งฎ Site-wide total-visits counter in the footer โ powered by your Waline server, opt-in via
pageview.siteWide - ๐ผ๏ธ Click-to-zoom lightbox for article images (Esc / backdrop / โ to close, scrollbar-shift compensated)
- ๐ Floating back-to-top button
- ๐ท๏ธ Archives link in the header navigation
Fixes
- ๐ฌ Waline 3 support: view counting now uses POST
/article(GET became read-only in v3), with v2 fallback; trailing-slash normalization prevents 308-redirect CORS failures - ๐จ Default theme/palette now truly applies (config injected via data attributes โ previously the configured default never took effect)
- ๐ฑ๏ธ Header toggles bind synchronously โ the first click always works (deferred module scripts used to miss it)
- ๐ Safe localStorage access (private mode), lightbox focus management & zoom cursor, back-to-top not tab-focusable when hidden
- ๐งน Removed dead Giscus sync code
Documentation
- Bilingual README (English / ็ฎไฝไธญๆ) with a screenshots gallery
Live demo: https://ink.willimt.com