Sitemap
This page discusses how you can use frontmatter to configure how this page is included in the sitemap.
Links
The links
frontmatter key allows you to specify additional links for a page.
These links can be used to create arbitrary connections between pages in the graph.
Page title selected from the pageTitle
frontmatter key.
No custom links specified.
Tags
The tags
frontmatter key allows you to specify tags for a page.
These tags can be used to group together, or style, pages in the graph.
For more information, check out the tagRenderMode
option.
Sitemap Include
The include
frontmatter key allows you to explicitly include or exclude a page from the sitemap.
Page Title
The pageTitle
frontmatter key allows you to specify the title of a page for only the
<PageGraph />
and <PageBacklinks />
components.
This setting will override both the title
frontmatter key, as well as any overrides specified in the
pageTitles
configuration.
Page title selected from the title
frontmatter key.
Page title selected from the pageTitle
frontmatter key.
Link Inclusion Rules
The linkInclusionRules
frontmatter key allows you to filter which links may be included for this specific page,
based on their target path.
The rules are specified as a list of strings, where each string is a glob pattern.
The first rule that was matched, determines whether the link is included or not.
All links are included.
No links are included, because the first rule is always matched first.
Only links to the subdir
subdirectory are included.