[SOLVED] Having trouble understanding page bundles, require clarification!

I have been reading his blog for a few days now. Thank you! Amazing articles. :slight_smile:

1 Like

Glad you like it. But the credits belong to @regis

2 Likes

If I put the images into my bundle, I can access them via the shortcode as you mentioned, no problem.

However, that doesn’t work for the front matter. It only works inside the article body.

For example, if I put the image text.jpg in the /content/category/some-article/text.jpg and I want to access that image from my front matter, I get 404.

+++
hero = "not sure what to put here to access the images from the page bundle directory"
og_image="same, not sure what to put here as path"
+++

I was hoping to keep the particular Open Graph image, and the site’s Hero module’s image in the bundle as well.

Currently I have to keep the opengraph images in static/img/og/articles/image.jpg and static/img/hero/articles/hero_image.jpg

Please advise me :slight_smile:

@regis Thanks, bud :slight_smile: