Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Banner Image for each BLOG #80

Open
LeoLee0097 opened this issue Feb 8, 2024 · 5 comments
Open

Banner Image for each BLOG #80

LeoLee0097 opened this issue Feb 8, 2024 · 5 comments

Comments

@LeoLee0097
Copy link

大佬您好,请问您有方法实现每个blog文章每个banner图片的方法吗

@upupnoah
Copy link

upupnoah commented Feb 8, 2024

我这边似乎也显示不了封面图

@seeleclover
Copy link
Contributor

你们是指每篇文章不同的背景/封面图片吗?
在页面 page 或文章 post 的 front-matter 中添加 cover 字段即可,以下是范例:

title: xxx
toc: true
comments: true
aplayer: false
dplayer: false
mathjax: false
date: xxxx-xx-xx xx:xx:xx
updated: xxxx-xx-xx xx:xx:xx
cover: https://xxx-images.com/img-xxx.png
categories:
tags:

需要注意的是,cover 中填写的图片 url 请使用绝对路径。 @upupnoah

@upupnoah
Copy link

你们是指每篇文章不同的背景/封面图片吗? 在页面 page 或文章 post 的 front-matter 中添加 cover 字段即可,以下是范例:

title: xxx
toc: true
comments: true
aplayer: false
dplayer: false
mathjax: false
date: xxxx-xx-xx xx:xx:xx
updated: xxxx-xx-xx xx:xx:xx
cover: https://xxx-images.com/img-xxx.png
categories:
tags:

需要注意的是,cover 中填写的图片 url 请使用绝对路径。 @upupnoah

谢谢!

@upupnoah
Copy link

大佬您好,请问您有方法实现每个blog文章每个banner图片的方法吗

设置上面大佬提供的 cover 之后, 每个 blog cover 的图片就是 banner 的图片

@Mulsd
Copy link

Mulsd commented Feb 13, 2024

你想要修改哪个页面的文章就要到哪个页面去改吧?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants