Frontmatter
Note that the below are in addition to the options from the default theme.
alert
Type:
Boolean || Object
Default:
yamlalert: false
Example
yamlalert: content: VIBES RISING type: 'success' closeable: false
Details:
Configure the visibility or content of the
<Alert>
component on a given page.You can also configure this globally with config.
backLink
Type:
Boolean || Object
Default:
false
Example
yamlbackLink: text: '<- Back to blog' link: '/blog'
Details:
Sets a
backLink
in the document footer.
contributors
Type:
Boolean || Object
Default:
yamlcontributors: true
Example
yamlcontributors: false
Details:
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: true
Example
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, Remote
Details:
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 || Object
Default:
yamlsponsors: true
Example
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: half
Details:
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 this
Details:
Note that this only works for content that is in a collection.
url-loader
Type:
String || Object
Default:
yamlurl-loader: source: content: replace frontmatter: replace
Examples
shorthand
yamlurl-loader: https://raw.githubusercontent.com/lando/setup-lando/refs/heads/main/docs/macos.md
long form
yamlurl-loader: source: https://raw.githubusercontent.com/lando/setup-lando/refs/heads/main/docs/macos.md frontmatter: rebase content: append
Details:
You can set
url-loader
to a string and it will populateurl-loader.source
using thereplace
default values forurl-loader.content
andurl-loader.frontmatter
.By default
frontmatter
andcontent
willreplace
the current.md
file's frontmatter and content with the frontmatter and content fromsource
.You can alter the behavior for both
frontmatter
andcontent
though.For
content
you canappend
the content fromsource
to the content in the markdown file.prepend
will, you guessed it, prepend the remote content to the markdown file.For
frontmatter
you can deeplymerge
the remote frontmatter over the markdown files or you canrebase
which will merge the markdown files frontmatter over the remotes. You can alsoskip
,omit
orfalse
to do nothing with the remote frontmatter.
Guides
- See Making a guide 1
- See Making a guide 2