Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Best practice for blog/post images #17

Closed
iamsridhar opened this issue Jul 24, 2023 · 1 comment
Closed

Best practice for blog/post images #17

iamsridhar opened this issue Jul 24, 2023 · 1 comment

Comments

@iamsridhar
Copy link

What is the best practice for storing images for (a) posts (b) site-specific images like those for 404 or other pages? More of a learning question for me, but should images be bundled with posts in the content/english/blog directory? And if so, how do you refer to them (relative path wise)? Where should other pages images go?

@tfsomrat
Copy link
Contributor

you can store your image in content static and assets folders. it's your choice where you actually wanted to store it. Or if you are confused about this, you can discuss it on https://discourse.gohugo.io/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants