rothsandro / eleventy-notes

A template for Eleventy to publish your personal notes or docs.
https://eleventy-notes.sandroroth.com/
140 stars 17 forks source link

Images are not output to dist #47

Closed cezaraugusto closed 7 months ago

cezaraugusto commented 7 months ago

Hello there, great project!

I'm using eleventy-notes to build my documentation website (https://docs.extensioncreate.com) but image paths are not output to dist/. Here's a screenshot of the image missing (GitHub can find it tho).

Screenshot 2024-03-25 at 14 12 34

Maybe there a rule to where I can add files to? I created an assets/ folder to host them, which works fine but only during development.

Screenshot 2024-03-25 at 14 15 33

How can I make it work?

rothsandro commented 7 months ago

Thanks for reporting this. Looks like images were completely broken in production, really weird. I fixed it (hopefully) and released v0.23.1. Please update to the latest version and let me know if you still encounter problems.

Note: In some files the image path is in quotation marks which is wrong (and also doesn't work on GitHub), make sure you remove them:

- ![WASM Sample Extension]("./assets/wasm.png")
+ ![WASM Sample Extension](./assets/wasm.png)
cezaraugusto commented 7 months ago

Working great after the update, thanks!