Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hexo clean后找不到之前的文章了 #1567

Closed
atbj505 opened this issue Oct 28, 2015 · 10 comments
Closed

hexo clean后找不到之前的文章了 #1567

atbj505 opened this issue Oct 28, 2015 · 10 comments

Comments

@atbj505
Copy link

atbj505 commented Oct 28, 2015

我在执行了 hexo clean后重新 hexo generarehexo deploy到github上,发现之前的文章都没有了,这之间的过程都没有报错,而且本地post文件夹下也都有之前文章,不知道问题出在哪了

@luodaoyi
Copy link

source文件夹里面的还有没有md文件

@atbj505
Copy link
Author

atbj505 commented Oct 29, 2015

@luodaoyi 还有只是页面上没有了

@Xuanwo
Copy link
Contributor

Xuanwo commented Oct 30, 2015

删除db.json以及.deployer_git之后重新生成试试看

@atbj505
Copy link
Author

atbj505 commented Oct 30, 2015

@Xuanwo 你好,刚才按照你说的方法试了下,也还是不行。

@Xuanwo
Copy link
Contributor

Xuanwo commented Oct 30, 2015

先检查一下public文件夹中是否有对应的文章

@atbj505
Copy link
Author

atbj505 commented Oct 30, 2015

@Xuanwo public下面只有今年十月的一篇文章了

@Xuanwo
Copy link
Contributor

Xuanwo commented Oct 30, 2015

你的md文件在_post目录下么?

@atbj505
Copy link
Author

atbj505 commented Oct 30, 2015

_post下面所有的文章都在,public下面却只有10月的文章

@Xuanwo
Copy link
Contributor

Xuanwo commented Oct 30, 2015

拷贝所有的文件到一个新的hexo目录下,重新hexo init之类的

@atbj505
Copy link
Author

atbj505 commented Oct 31, 2015

恩 我重新init了一下就好了,多谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants