hexo.坑
Posted h5skill
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了hexo.坑相关的知识,希望对你有一定的参考价值。
1、CMD中出现 信息"WARN No layout: ... ..."
1.1、
D:zz_RuanJianhexo_blogmatlab>hexo clean && hexo g INFO Deleted database. INFO Deleted public folder. INFO Start processing update link as:-->/2019/10/11/est-edge-example1-m/edge_example1.m.png update link as:-->/2019/10/11/est-edge-example1-m/edge_example1.m.png INFO Files loaded in 380 ms WARN No layout: categories/index.html WARN No layout: 2019/10/11/est-edge-example1-m/index.html WARN No layout: 2019/10/11/atlab测试文件路径/index.html WARN No layout: 2019/10/11/-调用Matlab/index.html WARN No layout: categories/SHH/index.html WARN No layout: categories/测试代码/index.html WARN No layout: archives/index.html WARN No layout: archives/2019/index.html WARN No layout: archives/2019/10/index.html WARN No layout: index.html INFO Generated: index.html INFO Generated: categories/index.html INFO Generated: archives/index.html INFO Generated: categories/测试代码/index.html INFO Generated: categories/SHH/index.html INFO Generated: archives/2019/10/index.html INFO Generated: archives/2019/index.html INFO Generated: 2019/10/11/est-edge-example1-m/index.html INFO Generated: 2019/10/11/atlab测试文件路径/index.html INFO Generated: 2019/10/11/-调用Matlab/index.html INFO Generated: 2019/10/11/est-edge-example1-m/edge_example1.m.png INFO 11 files generated in 62 ms D:zz_RuanJianhexo_blogmatlab>
1.2、
D:zz_RuanJianhexo_blogmatlab>hexo s -p 80 INFO Start processing INFO Hexo is running at http://localhost:80 . Press Ctrl+C to stop. WARN No layout: index.html WARN No layout: index.html WARN No layout: index.html WARN No layout: index.html INFO Good bye 终止批处理操作吗(Y/N)? hexo s -p 80 ^C D:zz_RuanJianhexo_blogmatlab>
1.3、看是不知道什么原因,感觉是 主题的原因,但是 不知道是哪里的问题...
后来 查网页,发现提到 _config.yml,才想起来,我删除了 "/themes/"下的 next主题文件夹,但是 没有改 _config.yml里面的设置,于是 改了下,OK了...
2、
3、
4、
5、
以上是关于hexo.坑的主要内容,如果未能解决你的问题,请参考以下文章