@kitr/seo 0.3.2 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/docs/index.md +1 -1
  2. package/package.json +2 -2
package/docs/index.md CHANGED
@@ -399,7 +399,7 @@ kitr build site
399
399
 
400
400
  ## Generate a sitemap
401
401
 
402
- Set `site.url` to a string literal, as in the config above, and the build turns on [TanStack Start's sitemap](https://tanstack.com/start/latest/docs/framework/react/guide/static-prerendering) with that host. It writes `sitemap.xml` from the pages it prerenders, so prerender (or crawl to) every page you want listed. `robotsTxt()` points crawlers at `<site.url>/sitemap.xml`.
402
+ Set `site.url` to a string literal, as in the config above, and the build turns on [TanStack Start's sitemap](https://tanstack.com/start/latest/docs/framework/react/guide/static-prerendering) with that host. It writes `sitemap.xml` from the pages it prerenders, so prerender (or crawl to) every page you want listed. A page with `noIndex: true` (any `<meta name="robots">` that says `noindex`) and a crawled file that is not HTML, such as a `/docs/page.md` copy or `llms.txt`, are written but left out of the sitemap. `robotsTxt()` points crawlers at `<site.url>/sitemap.xml`.
403
403
 
404
404
  > [!WARNING] Quoted string only
405
405
  > `url: process.env.SITE_URL` does not turn the sitemap on: the build matches the source text.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitr/seo",
3
- "version": "0.3.2",
3
+ "version": "0.4.0",
4
4
  "description": "@kitr/seo: meta and Open Graph tags per route, prerender list, sitemap and robots, cache headers. Works for SSR, static sites, SPAs and PWAs.",
5
5
  "kitr": {
6
6
  "name": "seo",
@@ -41,7 +41,7 @@
41
41
  "docs"
42
42
  ],
43
43
  "dependencies": {
44
- "@kitr/core": "0.3.2"
44
+ "@kitr/core": "0.4.0"
45
45
  },
46
46
  "peerDependencies": {},
47
47
  "peerDependenciesMeta": {},