CaiJimmy / hugo-theme-stack-starter

A quickstart template to create a Hugo blog using hugo-theme-stack
https://demo.stack.jimmycai.com
MIT License
357 stars 110 forks source link

How do I add static files? #9

Closed jdev082 closed 1 year ago

jdev082 commented 1 year ago

So, I have it set to set the avatar to img/avatar.png. Problem is, it doesn't appear in the output. I have 'img/avatar.png' in static/ yet it doesn't appear in the root directory of the output. Therefore it cant set the image properly. How do I add static files?

CaiJimmy commented 1 year ago

See https://github.com/CaiJimmy/hugo-theme-stack/issues/700#issuecomment-1273601667

It should be placed in assets folder instead of static