I love three things in the world,sun,moon,and you. sun for morning, moon for night and you forever.

0%

hexo博客常见的错误

hexo g 生成静态文件的时候,在 public文件夹下面就是找不到,新写的文章就是无法生成对应的静态文件。

解决方法

运行

1
hexo  g  --debug

去找debug输出的信息,判断哪一部分出了错,我找到的错误是

1
YAMLException: can not read a block mapping entry; a multiline key may not be an implicit key at line 5, column 1:

1

记得 tags 和 categories 冒号后面要加一个空格

-------------本文结束 感谢您的阅读-------------