Frontmatter
Note that the below are in addition to the options from the default theme.
alert
Type:
Boolean || ObjectDefault:
yamlalert: falseExample
yamlalert: content: VIBES RISING type: 'success' closeable: falseDetails:
Configure the visibility or content of the
<Alert>component on a given page.You can also configure this globally with config.
backLink
Type:
Boolean || ObjectDefault:
falseExample
yamlbackLink: text: '<- Back to blog' link: '/blog'Details:
Sets a
backLinkin the document footer.
contributors
Type:
Boolean || ObjectDefault:
yamlcontributors: trueExample
yamlcontributors: falseDetails:
Configure the visibility or content of the
<Contributors>component on a given page.This thing has a lot of options so check out this for more info or to just set global contributors.
jobs
Type:
Boolean || Array[Object]Default:
yamljobs: trueExample
yamljobs: - title: Batman logo: https://seeklogo.com/images/B/Batman-logo-F8295E46F2-seeklogo.com.png link: https://docs.google.com/forms/d/e/1FAIpQLSc2vkesq59BblKo8ZX-R1hKTrHphh1kmsg4FgWV1WH5BKEjHQ/viewform company: Wayne Enterprises aux: Gotham, RemoteDetails:
Configure the visibility or content of the
<Jobs>component on a given page.You can also configure this globally with config.
mailchimp
sponsors
Type:
Boolean || ObjectDefault:
yamlsponsors: trueExample
yamlsponsors: text: your logo? link: https://lando.dev/sponsor data: - name: stark id: stark url: https://en.wikipedia.org/wiki/Stark_Industries logo: https://upload.wikimedia.org/wikipedia/commons/7/7d/Stark_Industries.png type: half - name: wayne id: wayne url: https://en.wikipedia.org/wiki/Wayne_Enterprises logo: https://upload.wikimedia.org/wikipedia/commons/3/32/Wayne_Enterprises_%28DC_Comics_fictional_logo%29.png type: halfDetails:
Configure the visibility or content of the
<Sponsors>component on a given page.You can also configure this globally with config.
tags
Type:
String || Array[String]Default:
yamltags:Example
yamltags: - this is a test tag - so is thisDetails:
Note that this only works for content that is in a collection.
url-loader
Type:
String || ObjectDefault:
yamlurl-loader: source: content: replace frontmatter: replaceExamples
shorthand
yamlurl-loader: https://raw.githubusercontent.com/lando/setup-lando/refs/heads/main/docs/macos.mdlong form
yamlurl-loader: source: https://raw.githubusercontent.com/lando/setup-lando/refs/heads/main/docs/macos.md frontmatter: rebase content: appendDetails:
You can set
url-loaderto a string and it will populateurl-loader.sourceusing thereplacedefault values forurl-loader.contentandurl-loader.frontmatter.By default
frontmatterandcontentwillreplacethe current.mdfile's frontmatter and content with the frontmatter and content fromsource.You can alter the behavior for both
frontmatterandcontentthough.For
contentyou canappendthe content fromsourceto the content in the markdown file.prependwill, you guessed it, prepend the remote content to the markdown file.For
frontmatteryou can deeplymergethe remote frontmatter over the markdown files or you canrebasewhich will merge the markdown files frontmatter over the remotes. You can alsoskip,omitorfalseto do nothing with the remote frontmatter.
Guides
- See Making a guide 1
- See Making a guide 2