hexo 添加本地图片

hexo 中添加本地图片

解决方案:资源文件夹
hexo-asset-images

  1. 确认 _config.yml 中有 post_asset_folder:true
  2. 在 hexo 目录,执行

    1
    $ npm install https://github.com/CodeFalling/hexo-asset-image --save
  3. Example
    MacGesture2-Publish
    ├── apppicker.jpg
    ├── logo.jpg
    └── rules.jpg
    MacGesture2-Publish.md

  4. Just use to insert logo.jpg