Which directory are static images placed(Hexo)
This article will tell you how to add static resources to the hexo website, and in which folder to store images, js, css and other files
Example:
hexo-project/
--source/
--source/static/ You can put static resources here
For example, after storing hexo-project/source/static/img.png,
you can use it in the article like this: /static/img.png Use this path.
After hexo builds a static website (hexo generate),
hexo-project/source/static/ folder will be copied to:
hexo-project/public/static/
The static/ asset folder can be used as your static resource folder, where you can store images, js, css, fonts, and icons.
It will not be lost after the build, and all files in the static/ folder will be copied to the built product.
My Hexo version: "hexo": "6.3.0"
The above method should be compatible with Hexo v5.x, v6.0, and v7.0.
Now, you already know which folders should be stored for images, js, and css.
Reference: https://hexo.io/docs/asset-folders.html