Skip to content

Releases: willimt/astro-theme-ink

Release list

v0.2.0

Choose a tag to compare

@willimt willimt released this 17 Aug 12:40

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

v0.1.0

Choose a tag to compare

@willimt willimt released this 17 Aug 02:43

astro-theme-ink v0.1.0 · first release 🖋️

A warm, paper-feel personal blog theme built with Astro 5 & UnoCSS. Ink on paper — one accent hue, quiet grays, generous whitespace, serif headings.

Live demo: https://ink.willimt.com

Features

  • 📝 Blog list with pagination, tags, yearly archives, RSS & sitemap
  • 🔍 Built-in lightweight full-text search — prerendered JSON index, zero external services
  • 💬 Waline comments + 📊 article page views (share one Waline server, opt-in)
  • 🌗 Light / dark / system themes — applied before first paint, no flash
  • 🎨 Two built-in palettes — warm ink and fresh haze blue — switchable from the header, persisted
  • 📖 Sticky table of contents on desktop, collapsible TOC on mobile
  • 🖼️ Optional cover images per post (heroImage, optimized with responsive srcset)
  • 📊 Reading progress bar + prev/next post navigation
  • 🔍 SEO: JSON-LD BlogPosting, Open Graph / Twitter cards, canonical URLs
  • ✍️ Serif-display typography over UnoCSS presetTypography
  • 📦 Code blocks: language badges, copy buttons, diff/highlight notations, collapse, dark-mode colors
  • 🧩 UnoCSS presetWind3 + presetIcons (lucide), pure static output — host anywhere

Documentation

License

MIT