You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Docs Site] Add preview_image property to frontmatter for custom images (#20319)
* [Docs Site] Add cover property to frontmatter for custom images
* Use Astro.url for base, add to changelog schema
* Support changelog entries
* changelog default image
* Remove example that doesn't make sense
* fix type import
* move to new file
* Add test image to R2 entry
* Update property name
* Add style guide entry
---------
Co-authored-by: Kody Jackson <[email protected]>
We have added specific custom [frontmatter](/style-guide/frontmatter/) to meet specific needs.
10
+
11
+
-`difficulty` <Typetext="string" /> <MetaInfotext="optional" />: Difficulty is displayed as a column in the [ListTutorials component](/style-guide/components/list-tutorials/).
12
+
-`external_link` <Typetext="string" /> <MetaInfotext="optional" />: Path to another page in our docs or elsewhere. Used to add a crosslink entry to the lefthand navigation sidebar.
13
+
-`pcx_content_type` <Typetext="string" /> <MetaInfotext="optional" />: The purpose of the page, and defined through specific pages in [Content strategy](/style-guide/documentation-content-strategy/content-types/).
14
+
-`preview_image` <Typetext="string" /> <MetaInfotext="optional" />: An `src` path to the image that you want to use as a custom preview image for social sharing.
15
+
-`products` <Typetext="Array<String>" /> <MetaInfotext="optional" />: The names of related products, which show on some grids for Examples, [Tutorials](/style-guide/documentation-content-strategy/content-types/tutorial/), and [Reference Architectures](/style-guide/documentation-content-strategy/content-types/reference-architecture/)
16
+
-`tags` <Typetext="Array<String>" /> <MetaInfotext="optional" />: A group of related keywords relating to the purpose of the page.
17
+
-`updated` <Typetext="Date" /> <MetaInfotext="optional" />: This is used to automatically add the [LastReviewed component](/style-guide/components/last-reviewed/).
0 commit comments