Blog Home Frontmatter Config
About 1 min
home
- Type:
true - Details:
Must be true to use blog home layout.
layout
- Type:
"Blog" - Details:
Must be Blog to use blog home layout.
title
- Type:
string - Required: No
- Details:
Page title, will be used in breadcrumb, seo, etc.
heroText
- Type:
string - Default: Site title
- Details:
Hero Title, can be set to an empty string to hide the default title.
tagline
- Type:
string - Required: No
- Details:
Short description in hero
heroImage
- Type:
string - Required: No
- Details:
Image link used as home hero (logo).
heroImageDark
- Type:
string - Default:
heroImage - Details:
Dark mode Home hero (logo) image link.
heroImageStyle
- Type:
Record<string, string> | string - Required: No
- Details:
CSS style for home hero (logo) image
heroAlt
- Type:
string - Required: No
- Details:
Home icon alt text
bgImage
- Type:
string | false - Default: A built-in picture
- Details:
Link of background image, relative path is not supported.
bgImageDark
- Type:
string - Default:
bgImage - Details:
Link of dark mode background image, relative path is not supported.
bgImageStyle
- Type:
Record<string, string> | string - Required: No
- Details:
The CSS style of the background image.
heroFullScreen
- Type:
boolean - Default:
false - Details:
Whether Hero is full screen displayed
projects
Type:
ThemeBlogHomeProjectOptions[]interface ThemeBlogHomeProjectOptions { /** * Project name */ name: string; /** * Project description */ desc?: string; /** * Project link */ link: string; /** * Project icon * * @description image link or icon fontClass are supported, as well as `"link"`、`"project"`、`"book"`、`"article"`、`"friend"` */ icon?: string; }Required: No
Details:
Project list displayed in blog homepage.
Changelog
5/7/25, 7:29 PM
View All Changelog
1e9f5-onb1230-on014e1-one1ab4-on48142-on2c923-ond7e50-on6d4d9-on86180-on8174c-on1ece7-on5a6f8-on9c981-on