Themes allow you to display basic information about the blogger.
Intro
The theme provides blog feature via @vuepress/plugin-blog, and it's not enabled by default.
You can enable blog feature by setting plugins.blog to true in theme options.
For instructions, please see Blog Intro.
Options
boolean
true
Whether generate excerpt for page.
string
The theme automatically aggregates all articles and renders an article list at the /article/ route.
Article Configuration
By default, all Markdown files are included in the article list.
- Exclude Articles: Set
article: falsein the page Frontmatter, or configure custom exclusion logic viaplugins.blog.filterin the theme options. - Sticky Articles: Set
sticky: truein the Frontmatter to pin an article to the top of the list.
Tips
To explicitly control the sorting order of sticky articles, assign a numeric value to sticky (e.g., sticky: 2). Higher values are prioritized.
Excerpts
Defining Excerpts
Use the `
You can configure category and tags for articles through frontmatter to make them appear in specific categories and tags pages.
vuepress-theme-hope allows you to enable a blog-style and a portfolio style homepage.
The theme integrates @vuepress/plugin-blog for blog functionality. It is disabled by default. Set plugins.blog: true in the theme options to enable it.