Nodes
In this package, a node corresponds to a page of a website, whether it is on your website, or someone else’s.
Each page can only have one single node associated with it:
any subheadings (i.e. /some/endpoint#heading) will be folded under (/some/endpoint).
In Astro, a page can correspond to a .md, .mdx, .mdoc or .astro file; or is generated dynamically.
Depending on how this package is configured, the package will only include a subset of these
files in the sitemap.
The name of a node is determined by the following criteria, in order of precedence:
- The
sitemap.pageTitlefrontmatter key, - The
titlefrontmatter key, - The
sitemapConfig.pageTitlesconfiguration option, - Depending on the
sitemapConfig.pageTitleFallbackStrategysetting:- The most common link text (if any) used to link to this page
- The last segment of the URL path (e.g.
Some Pagefor/abc/some-page/)