-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: override siteTitle for Glossary (#2046)
* chore: override siteTitle for Glossary * feat: use frontmatter for cleaner implementation * chore: fixed illegal text * chore: changeset * Update websites/documentation/src/content/writing/pages.mdx Co-authored-by: Naveen Karunakaran <[email protected]> --------- Co-authored-by: Naveen Karunakaran <[email protected]>
- Loading branch information
1 parent
522ec0f
commit 448914a
Showing
8 changed files
with
53 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'@commercetools-docs/gatsby-theme-docs': minor | ||
'@commercetools-website/docs-smoke-test': minor | ||
'@commercetools-website/documentation': minor | ||
--- | ||
|
||
Add frontmatter fields to override site title and site breadcrumb per page |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,6 +107,7 @@ export const query = graphql` | |
showTimeToRead | ||
timeToRead | ||
estimatedTimeToRead | ||
overrides | ||
} | ||
} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
title: Site Overrides | ||
siteTitle: Custom Site Title | ||
siteBreadcrumbs: Custom Breadcrumb | ||
--- | ||
|
||
This page demonstrate the the possibility of overriding some site metadata on a page level. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters