Skip to content

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

Language Page Definition File

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

Blogs Front Matter

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
Clone this wiki locally