Config
Update _config.yml1
post_asset_folder: true
Then Hexo will create a folder every time you make a new post with the hexo new <title>
command. This asset folder will have the same name as the markdown file associated with the post.
Referencing
1 | {% asset_img slug [title] %} |