Skip to content
Branch: master
Go to file
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

hexo-filter-pathfix

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.

build status dependency status

Installation

npm install --save hexo-filter-pathfix

Usage

  • install package
  • enable post_asset_folder in your hexo config file _config.yml
  • reference assets in relative path in your post

Example

![this is the cover](cover.jpg)

the above will produce:

<img title="this is the cover" src="/2015/01/18/post-title/cover.jpg">

Credits

wayou

License

MIT

About

using absolute path for assets in posts

Resources

License

Releases

No releases published
You can’t perform that action at this time.