Replies: 6 comments 2 replies
-
@metbril, could you please confirm that the main issue here is that the featured image, defined via the front matter variable |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
@metbril, in README, I added a new section named Featured Image: In your case, the image path is not relative to the base URL. That's why it is not working. When using the page bundle, you can use the Please see these test articles I created back then on the Bilberry Sandbox:
|
Beta Was this translation helpful? Give feedback.
-
Too bad you have closed this issue. I still believe that the current way it works for page bundles is not how it should. Page bundles are intended to be self contained. So relative addressing should be possible. This is how most other themes work. In bilberry when you currently change the permalink structure, for example, absolute paths would need to be changed in the front matter. The workaround should be to just copy any featured image to one with the hard coded filename, but then I would have 2 copies of that image in my file bundle when I need that somewhere else in the post with a regular filename. In the current
to
to make it work. What is the purpose of the |
Beta Was this translation helpful? Give feedback.
-
@metbril, you can read more on the As for the relative URLs in your particular case, you can set the I made a quick test in my local dev with the Bilberry Sandbox: I'm moving this issue to Discussions since it can be helpful for other users. |
Beta Was this translation helpful? Give feedback.
-
It's been some time since, but I'm still going to try the |
Beta Was this translation helpful? Give feedback.
-
I use page bundles for my articles. The featured image is applied through front matter. The theme currently supports this with the
featuredImage
front matter parameter.When adding the front matter, my featured image is not shown as expected.
Both
featuredImage: some-image.jpg
andfeaturedImage: ./some-image.jpg
are rendered as<img src="/some-image.jpg" alt="">
.My expectation is, that the path is rendered as specified, so
<img src="some-image.jpg" alt="">
and<img src="./some-image.jpg" alt="">
respectively.Beta Was this translation helpful? Give feedback.
All reactions