Portfolio Frontmatter Config
Less than 1 minute
portfolio
Must be true
to use portfolio layout.
home
Recommend be true
if the portfolio is home page.
name
- Type:
string
- Default:
themeConfig.author.name
Name of the portfolio, by default its the author name from .
avatar
- Type:
string
- Required: No
Avatar image of the portfolio, relative path is not supported.
avatarDark
- Type:
string
- Default:
avatar
Darkmode avatar image of the portfolio, relative path is not supported.
titles
- Type:
string[]
- Required: No
Titles of the portfolio.
avatarStyle
- Type:
Record<string, string> | string
- Required: No
CSS style for avatar
avatarAlt
- Type:
string
- Default:
name
Avatar alt text
bgImage
- Type:
string
- Required: No
Background image of the portfolio, relative path is not supported.
bgImageDark
- Type:
string
- Default:
bgImage
Darkmode background image of the portfolio, relative path is not supported.
bgImageStyle
- Type:
Record<string, string> | string
- Required: No
CSS style for background image
welcome
- Type:
string
- Default:
'👋 Hi there, I am'
Welcome message of the portfolio.
medias
Type:
PortfolioMedia[]
interface PortfolioMedia { icon: string; name: string; link: string; }
Required: No
Social media links of the portfolio.
content
- Type:
"portfolio" | "doc" | "none"
- Default:
"portfolio"
Content type of the portfolio.
portfolio
means display markdown content as portfolio styledoc
means display markdown content as document stylenone
means hide markdown content