How to set a default background image for articles? #1022
Replies: 3 comments 2 replies
-
Hello @goldsheep3 Use the
more info here - https://blowfish.page/docs/configuration/#global-1 |
Beta Was this translation helpful? Give feedback.
-
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.
-
Is it possible to set a file (in the assets folder or static) as a feature image? This way, I would not have duplicated files in the folders of the posts if I would use the same featureImage more than once |
Beta Was this translation helpful? Give feedback.
-
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