using absolute path for assets in posts.
enabling hexo post_asset_folder
only makes the relative asset path work in post page, while in other page like index,category and tag the path will broken.
npm install --save hexo-change-img-url
- install package
- enable
post_asset_folder
in your hexo config file_config.yml
- reference assets in relative path in your post
![this is the cover](./images/cover.jpg)
![this is the cover](images/cover.jpg)
the above will produce:
<img title="this is the cover" src="/images/cover.jpg">