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

How to have a post Thumbnail from an image in a post bundle #140

Open
Yaxit opened this issue Jan 28, 2024 · 0 comments
Open

How to have a post Thumbnail from an image in a post bundle #140

Yaxit opened this issue Jan 28, 2024 · 0 comments

Comments

@Yaxit
Copy link

Yaxit commented Jan 28, 2024

I have the following file structure

blog/
├─ post1/
│ ├─ index.md
│ ├─ cover.jpg

And I'm trying to use cover.jpg as thumbnail of the post. If I use the "image" parameter, the image is then referenced as absolute path, e.g.: once build the website will try to refer to /cover.jpg (from root) and miss.

How can this be achieved? I also had saw issue #44 but maybe this relates to images in the static folder?

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

1 participant