Article Customization

Article Header Image

Redefine theme supports adding a cover image to the article.


Screenshot 2023-02-02 at 9.11.50 PM


Add the following to the Front Matter (opens in a new tab) of the article:

cover: "图片链接"


banner: "图片链接"

For example:

title: 主题样式 Demo
date: 2022-12-30 19:07:05
cover: ""

If you have set a thumbnail for the homepage (opens in a new tab), the article cover will automatically be selected as the thumbnail link. However, the banner and cover have the highest priority.

If you do not want to set an article cover but want to keep the homepage thumbnail, set cover or banner to false.