Skip to content

v1.2.0 — Landing Page, Reading UX & AI Search

Choose a tag to compare

@PNGTRID PNGTRID released this 14 Aug 17:33
· 26 commits to main since this release

AnvilWiki v1.2 — 专家团审计落地版:项目官网 + 阅读体验 + AI 搜索卡位 + 隐私合规。

This release lands the findings of a 4-expert audit (SEO/growth · developer experience · reader UX · competitive analysis).

Added

  • Project landing page (/landing): 7-section marketing page for the template itself — Hero with the "100% ad revenue" positioning, Lighthouse proof bar, feature grid, comparison table (vs Fandom / Starlight / Next.js DIY), showcase, docs entry, final CTA. The apply-template CLI removes it automatically for fork users (--keep-landing to keep).
  • RSS feed (/rss.xml): default-locale articles, newest first, excludes noindex.
  • llms.txt (/llms.txt): Markdown site index for AI crawlers, generated from the content collection.
  • TOC scrollspy — the in-view section is highlighted while scrolling.
  • Share button on articles (native share sheet + clipboard fallback, en/ja).
  • Back-to-top button on article pages.
  • Boss stat card: optional structured boss frontmatter (hp / weakness / resistant / location / level) rendered as a uniform, mobile-friendly data card.
  • pnpm check-config: validates nav-key / locale / displayType consistency that the build doesn't enforce.
  • Cookie consent that actually gates tracking: GA / AdSense load only after the visitor accepts; declining means they never load. No tracking env vars → zero JS, Lighthouse 4×100 unchanged.

Changed

  • Ads system rebuilt as Google AdSense-only (3 positions, env-gated, empty = not rendered).
  • Sticky banner is desktop-only by default (mobile first screen reclaimed).
  • sitemap <lastmod> injected from frontmatter.
  • /_astro/* served immutable (1-year browser cache).
  • Mobile menu includes the language switcher.

Fixed

  • Third-locale forks fully 404 — five getStaticPaths hardcoded ['ja']; now derived from routing.ts locales.
  • SearchAction pointed at a nonexistent /search — removed.
  • noindex frontmatter now actually emits <meta robots>.
  • Cover-image docs unified to Astro Image relative paths.
  • Node version docs 20 → 22 (pnpm 11 needs ≥22.13).
  • RSS trailing-slash 404s (absolute URLs now).
  • GFM tables overflowed on mobile — prose tables scroll horizontally.

Full Changelog: v1.1.0...v1.2.0