Article List
The topic provides you with a list of all articles under the path /article/
.
# Auto Excerpt
The theme will generate excerpt automatically for you by default, if you want to disable this feature, please set autoExcerpt: false
in themeConfig.blog
.
# 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.
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.
# Star articles
You can star an article by setting star
to true
in frontmatter. After staring, users can view these articles on the /star/
page.
At the same time, any star articles will be displayed in the article column on the sidebar of the blog homepage.
Info
Our consideration for providing star options: Theme users may want to show visitors some high-quality articles, but do not want sticky articles to flood the homepage, resulting in visitors not being able to see the recently updated articles.
Order
Similar to sticky articles, you can also set star
to number to set their order. Articles with large numbers will be listed first.
# Encryption and Slideshow
The theme provides separate lists for the two special pages: encrypted article page and slide page. You can view them on the /encrypt/
and /slide/
pages.
At the same time, to help visitors distinguish between these two categories of pages, their categories will be clearly marked with icons in the article list.