I’ve looked here, and seen how the directory structure looks generally and also how static files are treated. I’m using the hugo-universal-theme
as a starting point.
What confuses me however is that:
staticDir = ["static"]
[params]
logo = "img/logo.png"
Is not equivalent to
staticDir = ["static/img"]
[params]
logo = "logo.png"
In my build the former compiles correctly, while the later has a broken image link. My use case question is, is there a way to reference an image in the theme submodule instead of the site root static
folder? i.e. instead of the logo being at static/img/logo.png
m can i make the logo param reference an image at themes/hugo-universal-theme/static/img/logo.png
? Or a similar arbitrary location?