搭建在github上的hexo博客,hexo d时如何保留404页面文件


新建404



 我在github上搭建了自己的hexo博客,现在的404页面是github默认的,我想修改为腾讯的404页面。
按文档通过图中的方式建立了自己的404.html实现了需求。

但是,每次我通过hexo d更新博客的时候,这个404.html都会被删除。

怎样做才能始终保留这个404页面文件呢?

github hexo

fasher 9 years, 7 months ago

404页面放在source根目录下就好了。
更多配置参考我的博客, http://victoryxs.github.io/2015/07/09/%E5%88%A9%E7%94%A8github%E5%92%8...

heart answered 9 years, 7 months ago

Your Answer