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
plugins.blog.excerpt
- Type:
boolean - Default:
true
Whether generate excerpt for page.
plugins.blog.excerptSeparator
- Type:
string - Default: `
The topic provides you with a list of all articles under the path /article/ by default.
Article
All articles will be added to the article list by default and rendered under the path /article/.
If you don't want the list to contain some specific articles, just set the article to false in the frontmatter of the article, or you may customize it through plugins.blog.filter in theme options.
To sticky a specific article in the article list, just set sticky to true in the frontmatter of the article.
Order
For sticky articles, you can set sticky with a number to set their order. Articles with large numbers will be listed first.
Excerpt
Adding Excerpt
If you want to add an excerpt for an article, you can mark contents with `
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 supports blog feature with@vuepress/plugin-blog by default, and it's disabled by default.
If you need blog functionality, you can set plugins.blog: true in theme options to enable blog functionality.