zeon-studio / hugoplate

Hugoplate is a free starter template built with Hugo and TailwindCSS that will save you hours of work.
https://zeon.studio/preview?project=hugoplate
MIT License
798 stars 218 forks source link

change images directory to blog/english #110

Closed psalphabeta closed 5 months ago

psalphabeta commented 5 months ago

Images are stored under assets/images, how to set the blog/english as the default directory for storing images

tfsomrat commented 5 months ago

Hey @psalphabeta, you can't set it as default storage, but you can store image in english/blog directory. and change the image calling path, and add Context with image partial, it will work. for more info, checkout this doc: https://github.com/gethugothemes/hugo-modules/tree/master/images#image-implementation