kdevo / osprey-delight

Osprey Delight is the free-minded artist's choice for a clutter-free and blazingly fast single-page portfolio.
https://hugo-mods.github.io/
Apache License 2.0
99 stars 44 forks source link

image path ./assets/%!s(<nil>) does not exist #39

Closed londi closed 2 years ago

londi commented 2 years ago

Hi There, I'm new to hugo and hugo mod and especially to this awesome theme! :)

Sorry if this issue does not meet the correct guideline... but I like to ask you kindly if anyone encountered the same problem and probably found a solution for it.

After a fresh install of hugo and osprey-delight I see the following error after typing "hugo server": error image path ./assets/%!s(<nil>) does not exist

Thanks in advance for any help

londi

EDIT: I have noticed that there could be a problem on the file "themes/osprey-delight/layouts/partials/sections/gallery/img.html". The previous version of this file (before commit: kdevo 31.10.21) is working.

kdevo commented 2 years ago

Hi @londi,

Error message might be a bit cryptic, but the reason likely is that an image in the gallery is missing. Please ensure that for each gallery content file a valid image is specified that you can also find under ./assets (like here).

kdevo commented 2 years ago

Issue that error message is not clear is tracked under https://github.com/hugo-mods/lazyimg/issues/6