Skip to content

Instantly share code, notes, and snippets.

@A-limon
Last active January 3, 2016 18:49
Show Gist options
  • Save A-limon/8504808 to your computer and use it in GitHub Desktop.
Save A-limon/8504808 to your computer and use it in GitHub Desktop.
在Hexo的文章中插入图片
![hello]({{BASE_PATH}}image/hello.jpg)
@yuhaya
Copy link

yuhaya commented Mar 16, 2014

我在source目录下建立了一个img文件夹,把图片放进去

但是最后生成的页面只能在首页看到,在文章页面路径错误

<img src="img/salls.js.jpg" alt="Sall.js">

我猜测的是BASE_PATH这个变量没有定义,是在那里需要定义吗?

@KillerLegend
Copy link

这里有详细步骤:http://t.cn/R7JVJFU

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment