Add lines below in _config.yml
1 | post_asset_folder: true |
After modifying _config.yml, create a new post and you will find a folder is created alone with the post.
1 | hexo new post "My first page with an image" |
Put the image inside the folder, and enbed the image with the file name as below. Deply the post. Bob’s your uncle, you can see the image in the new post.