Article Header Image
Redefine theme supports adding a cover image to the article.
Effect
Usage
Add the following to the Front Matter (opens in a new tab) of the article:
---
cover: "图片链接"
---
or
---
banner: "图片链接"
---
For example:
---
title: 主题样式 Demo
date: 2022-12-30 19:07:05
cover: "https://evan.beee.top/img/2023/01/21/5966cf4d2f2c05aecad54e233d9562ff.png"
---
ℹ️
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
.