SEO: drop noindex order steps from sitemap + per-dataset detail metadata
CI (SIAX Cloud) / sonar (pull_request) Skipped
masterplan-lock / check (pull_request) Successful in 9s
CI (SIAX Cloud) / Component conformance (blocking) (pull_request) Successful in 13s
CI (SIAX Cloud) / security (pull_request) Successful in 20s
security / scan (pull_request) Failing after 43s
CI (SIAX Cloud) / quality (pull_request) Failing after 3m11s
CI (SIAX Cloud) / integration (pull_request) Successful in 3m41s
CI (SIAX Cloud) / sonar (pull_request) Skipped
masterplan-lock / check (pull_request) Successful in 9s
CI (SIAX Cloud) / Component conformance (blocking) (pull_request) Successful in 13s
CI (SIAX Cloud) / security (pull_request) Successful in 20s
security / scan (pull_request) Failing after 43s
CI (SIAX Cloud) / quality (pull_request) Failing after 3m11s
CI (SIAX Cloud) / integration (pull_request) Successful in 3m41s
- sitemap now lists only public landing pages; /bestall* (noindex per PR #622) is no longer announced to crawlers. - /katalog/[id] gets route-level generateMetadata with a unique title, description and canonical per dataset instead of inheriting /katalog's canonical. Unknown ids are explicitly noindex with canonical back to catalog. - Dataset seed extracted to app/katalog/datasets.ts so the client detail page and server metadata share one source of truth. - 10 regression tests covering home/catalog/two datasets/order step and sitemap+robots.
This commit is contained in:
+4
-1
@@ -1,7 +1,10 @@
|
||||
import type { MetadataRoute } from "next";
|
||||
|
||||
const BASE = "https://0pt.app";
|
||||
const ROUTES = ["", "/tjanster", "/katalog", "/kallor", "/bestall", "/bestall/beskriv", "/bestall/forskott"];
|
||||
// /bestall, /bestall/beskriv and /bestall/forskott are deliberately noindex
|
||||
// (app/bestall/layout.tsx) — the order flow is transactional, not a landing
|
||||
// page. Keep the sitemap in sync with that indexation policy.
|
||||
const ROUTES = ["", "/tjanster", "/katalog", "/kallor"];
|
||||
|
||||
export default function sitemap(): MetadataRoute.Sitemap {
|
||||
return ROUTES.map((r) => ({
|
||||
|
||||
Reference in New Issue
Block a user