ruanyf / loppo

an extremely easy static site generator of markdown documents
739 stars 108 forks source link

如何添加图片文件? #13

Closed weakow closed 7 years ago

weakow commented 7 years ago

当我在 docs 或 dist 目录添加图片文件后,只要在服务器执行 loppo,则图片文件都会被删除,这个问题怎么解决呢?

谢谢

ruanyf commented 7 years ago

图片统一放在docs/images目录里面。请看这个例子。

https://github.com/ruanyf/survivor/tree/master/docs/images