Go to the homepage
Powered bySitecore Search logo
Skip to main contentThe Configuration options page has loaded.

Configuration options

Learn more on configuring pages

Configuration

Each page can store metadata (frontmatter) in head of the page. Required fields are title and description, but there are lots of other settings possible. A default page setup would look like this

--- title: 'Page Title' description: 'Description of the page' --- # This is where the content would be

Options

Besides the title and description there are various other options available:

Core

These parameters affect core functionality of a page:

VariableTypePurpose
PageTypestringOptions to use a different pagetype (defaults to default)
hasInPageNavbooleanShows a menu that links to all H2 element on the current page
hasSubPageNavbooleanShows a menu that uses a manifest.json as datasource
heroImagestringOverride the current hero image with a custom image
openGraphImagestringOverride the OG image with a custom image
partialsstring[]Render the contents of the partials on this page (deprecated)
partialGroupsPagePartials[]Render one or multiple groups with partials on this page (example)

Integrations / Components

The configuration options enable and customize different components used on the pages

VariableTypePurpose
stackexchangestringstring[]
twitterstringstring[]
youtubestringPlaylist Id
changelogProductIdstring[]array of productIds to include
changelogstringNumber of entries to retrieve
promoBeforestring[]Name of .ts file within apps\devportal\data\promos folder (without file extension)
promoAfterstring[]Name of .ts file within apps\devportal\data\promos folder (without file extension)

Sitecore Community

These options can enable/disable Sitecore Community integrations on a page level

VariableTypePurpose
sitecoreCommunityBlognumber/booleanRead more here
sitecoreCommunityBlogSortSortOption/SortOption[]Read more here
sitecoreCommunityEventsbooleanRead more here
sitecoreCommunityNewsbooleanRead more here
sitecoreCommunityQuestionsnumber/booleanRead more here
sitecoreCommunityQuestionsSortSortOption/SortOption[]Read more here
sitecoreCommunityQuestionsCategoryForumOption/ForumOption[]Read more here

Edit this page on GitHub

Feedback

© Copyright 2024, Sitecore. All Rights Reserved