11 Commits

Author SHA1 Message Date
Jakub Zych
3868f3d74d fix: root files follow the last site answer, a 404 included, while the backend is down
An SEO-less site's robots.txt, sitemap.xml and llms.txt keep reaching
the app during an outage longer than the cache TTL; a backend that never
answered still gets the 503.

quick-261104-xae, review WR-04.
2026-11-05 00:23:19 +01:00
Jakub Zych
8cdf35929a fix: root files answer 503 while the backend has not answered
- rootFileTargets gives robots.txt, sitemap.xml and llms.txt their backend
  target also in state unknown without a last answer, so the failing fetch
  answers 503 with Retry-After: 60 instead of the app's 404 (L4 WR-08)
- an older backend (absent) still passes through; sitemap files and
  verification files still need a site answer
- expect-seo-down.txt expects the 503s and states the staging reason
2026-11-04 22:49:40 +01:00
Jakub Zych
a651de4675 fix: HTML sitemap pages once per locale, never over a catch-all by default
- seoSitemapPages (lib/sitemapPages.ts) builds the routes per locale; the
  module adds them from a pages:resolved hook registered on ready, after
  @nuxtjs/i18n has localised the app's routes, so no cross-locale copies
  exist and each name ends in the locale's i18n suffix (L4 WR-05)
- a path an app catch-all covers is left to it and logged at build unless
  seo.htmlSitemap.overCatchAll is true (L4 WR-04)
- SitemapLink falls back to the i18n locale and renders only when the path
  resolves to the layer's sitemap page of that locale
- an app with only app.vue no longer gets its router turned on by the pages
2026-11-04 22:47:58 +01:00
Jakub Zych
7a26692001 feat: the route report sends the noindex static paths (tracer)
- noindexStaticRoutes: requiresAuth, noindex/none seo.robots and static
  pages under seo.noindexRoutes, i18n copies included, never patterns or
  the layer's HTML sitemap pages (G1, gap-2 contract)
- #seo-routes exports noindexPaths; routeReportBody(paths, noindex) answers
  {routes, noindex} with the same limits and keeps the JSON body within the
  older plugin's 4,113,024 bytes, dropping noindex entries first
- smoke grammar noindex= and lacksnoindex=; README carries the contract
2026-11-04 22:40:38 +01:00
Jakub Zych
b3a0078fb0 fix: leave the i18n copies of a page in other locales out of the route report
With prefix_except_default (or prefix_and_default) @nuxtjs/i18n adds a copy
of every page per other locale (/pl/contact next to /contact). The route
report sent them as pages of their own, so the CMS registry got a second,
untranslated page for each. They are the page's translations: the report
now skips routes named with another locale's suffix (contact___pl).
2026-11-04 20:13:05 +01:00
Jakub Zych
7af91fc5e4 docs: body link utilities and the app-without-pages note
- autolink, applyOutbound and imageAttrs: the body link rules a content
  layer runs at SSR on sanitized HTML (UI-SPEC L7)
- htmlSitemap: an app without pages sets false, since the sitemap pages
  would turn the router on
- the purge route's copies in the journal, menu and FAQ layers are gone
2026-11-04 14:08:22 +01:00
Jakub Zych
b051bda080 docs: build guard, noindex routes and components
- README: build guard, noindex routes and page meta keys, route report,
  drift check, the new module options, the Components section
  (SeoBreadcrumbs, SeoPagination, usePagination, the HTML sitemap pages
  and their override, SeoSitemapLink), useSeoSite and the new helpers,
  guard:check and the new smoke grammar
2026-11-04 12:02:15 +01:00
Jakub Zych
6636cde70a fix: root files fall through until the backend has given a site answer
With the SEO backend unreachable since start, /robots.txt and /sitemap.xml
answered 503 where v0.1.1 left them to the app (a consumer's smoke expects
the app's 404). The root proxies now need a site answer; the last one seen
is kept while the backend is down, so a failure after it is still 503.
2026-11-04 09:31:39 +01:00
Jakub Zych
c2357cd7f9 docs: README
- options (cms alias of public.seo.enabled, breadcrumbs, links.newTabHint,
  rootFiles, resolveFiles), the new runtime keys and the moved purge keys
- the resolve and site answer contract, one JSON-LD graph, root files,
  the purge route, 404 report, labels and tokens, the smoke runs
2026-11-04 09:29:02 +01:00
Jakub Zych
7d52c5d2e5 fix: canonical and social URLs answered as paths become absolute on the request origin 2026-10-31 13:53:30 +01:00
Jakub Zych
ac59f3c80d feat: vue-seo-layer, the Nuxt half of the SummerCMS SEO plugin 2026-10-31 13:45:37 +01:00