How to set a default background image for articles? #1022
Unanswered
goldsheep3
asked this question in
Q&A
Replies: 2 comments 2 replies
-
Hello @goldsheep3 Use the
more info here - https://blowfish.page/docs/configuration/#global-1 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello, Thanks to this answer, I could have all my posts have a default featured image. I have tried all of those in Front Matter but none worked :(
Thanks. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm sorry, I'm from China, and my English is not very good, so I used ChatGPT to help with the translation of this content. Please understand.
In the recent past, I planned to migrate my blog to Hugo and selected the Blowfish theme. During the process of migrating the blog to Blowfish, I was trying to set the background image for my articles.
For a specific article, I can set the
FeaturedImage
and also setshowHero
to true withheroStyle
as "background" to display the background image. However, for all articles, I can set adefaultFeaturedImage
. But when I setshowHero
to true andheroStyle
to "background" in this case, the article does not display the background image, and the default FeaturedImage is not set as the article's HeroImage.I want to avoid creating all articles as folder structures and placing the same
featured.jpg
in each folder to achieve the result of setting a background image for all articles. Is there a way to solve this issue?Beta Was this translation helpful? Give feedback.
All reactions