-
Notifications
You must be signed in to change notification settings - Fork 169
Language Page Front Matter
Brian McClain edited this page Jun 7, 2022
·
1 revision
The content of the language pages is populated by observing the front matter of each piece of content (blogs, guides, etc) as well as the definition file for that language page. Let's first look at the definition file for the .NET page as a reference
title: .NET
herotitle: Welcome to .NET at VMware
label: dotnet
show: dotnet-wild
event: dotnet-beyond
-
title
: The title of the page that appears in the browser's tab -
herotitle
: The main title shown in the hero section of the page -
label
: This is how content (blogs, guides, etc) will be related to know they're a part of this page (see the section below) -
show
(optional): The show to highlight on the page -
event
(optional): The event to highlight on the page
To include a blog on the language page, include the matching label
shown above in the blog's languages
array. In this case, the front matter would be:
languages:
- dotnet
- Start Here
- Prewriting / Ideation
- Setting Up You Environment to Create Content
- Drafting Content
- Editing Content
- Testing Content Locally
- Committing Content to be Published
- Content Next Steps
- Start Here
- Prewriting / Ideation
- Tools you need (hint: it's Google Docs)
- Drafting Content
- Editing Content
- Contributing Content