Repository navigation
Releases
Releases · ondelva/astro-theme-leader
v1.2.2
Changed
- The footer credit now links to the Leader page on ondelva.com (with
rel="nofollow") instead of the
repository. Its link text also read your site name; it now reads "Leader". - CI runs
pnpm check:sitemapafter the build: every sitemap URL must be a real page that
is not marked noindex, not a redirect source and not a Markdown file.
Fixed
/privacyand/termsare marked noindex but were listed in the sitemap. They are left out now.
Full history: CHANGELOG.md
v1.2.1
Added
- Demo builds get a What's new page (this changelog, with links to the demo pages that show each
feature), linked from the demo bar. Buyer builds are unchanged.
Full history: CHANGELOG.md
v1.2.0
Added
- Math in notes and product pages:
$…$inline and$$…$$on lines of their own, set with
KaTeX at build time (no client JavaScript). Chemical equations work through mhchem (\ce{…}).
Only a page with math loads the KaTeX stylesheet and fonts. If an entry has two dollar amounts
in one paragraph ($20 and $30), the text between them now renders as a formula: escape them
as\$20.
See it in the demo: Why the queue got expensive.
Full history: CHANGELOG.md
v1.1.3
Fixed
- With analytics set to GA4,
gtag()is now onwindow, so your own events can call it (it was a function local to the snippet). - Chinese and Japanese are counted by character for the reading time; a sentence without spaces used to count as one word.
Full history: CHANGELOG.md
v1.1.2
Changed
- The Free vs Pro table in the README lists what Pro 1.2.0 added: editions with prices,
a Product record, a cover screenshot, and a gallery view for a category.
Full history: CHANGELOG.md
v1.1.1
Fixed
- The theme switcher no longer sticks on Light where the browser blocks storage (cookies
blocked, some private modes). It read the saved choice back on every click, so each click
started again from System; it now keeps the choice in the page and only saves it.
Full history: CHANGELOG.md
v1.1.0
Added
- The theme's own words are in
src/i18n/:en.ts, andko.tsfor a site in Korean. Set
site.localeand every heading, label, count and date follows. A dictionary is typed
againsten.ts, so a missing key fails the build.
Full history: CHANGELOG.md
v1.0.0
Added
- A ten-minute sample note with a figure in it, so the shelf shows a long piece and an
illustrated one as well as the short notes. The figure is an inlined SVG drawn in the
theme's own tokens, which is how a chart follows the palette into dark mode. - Products and notes can be filed in folders.
notes/2026/04/one-tab.mdis
/notes/2026/04/one-tab, which is what a site moving from dated addresses needs. - Task lists are set with the square marker dropped and the checkbox in ink rather than
the browser's blue, which would read as a fifth category colour.
Fixed
- A product or note in a subfolder failed the build with
Missing parameter: slug. Both
routes are now rest parameters. - A GFM task list wrote a checkbox with no label of its own, which an accessibility audit
fails and which left the words beside the box outside the control. Each item's contents
are now wrapped in a<label>. - A paginated
/notescarried norel="prev"orrel="next", so the pages read as
unrelated documents with almost the same title.
Changed
- The colour tokens are lifted out of the stylesheets in one place,
src/lib/palette.js,
rather than by a regular expression inside the contrast gate. - The CI workflow runs the gates on every push and pull request and nothing else. The
weekly Lighthouse schedule and the path filter it used to carry were ours, not yours. CLAUDE.md, which is a symlink toAGENTS.md, is no longer written into the release
snapshot. An unzip that ignores the symlink bit left a broken file where the guide is.
Full history: CHANGELOG.md