My theme’s index uses baseof.html that calls for main block. But Hugo can’t seem to find this if I call main block from a custom archetypes layout. Specifically, from projects/list.html or projects/single.html. Why is it like this?
Oh okay got it, so now each image should be pointed to the correct folder, such as like this <img alt="Image" src="{{.Site.BaseURL}}img/projects/001/work-8.jpg">
In a way, it might be helpful to split the statics used:
theme’s static should be put under themes/THEME_NAME/static/assets
site content’s static should be put under site’s root static
Btw, @bep … if in localhost this page can render properly http://localhost:1313/projects/,
why it doesn’t work after deployed into Netlify https://improve-asset–cutter-robin-15288.netlify.com/projects/ ?