[Bug0062] Hexo的 yml配置文件报错FATAL YAMLException: bad indentation of a mapping entry at xxx

问题

Hexo博客中配置文件yml报错FATAL YAMLException: bad indentation of a mapping entry at xxx

FATAL YAMLException: bad indentation of a mapping entry at line 26, column 7:
        读书: /books/ || fas fa-book

......
......

  message: 'bad indentation of a mapping entry at line 26, column 7:\n' +
    '        读书: /books/ || fas fa-book\n' +

场景

修改yml配置菜单报错

原因

yml语法错误

错误语法:tab

正确语法:(四个)空格

解决方案

注意配置菜单中yml文件如下图是四个空格

https://blog.csdn.net/weixin_43423781/article/details/118937645

posted @ 2022-11-30 18:31  Code7Rain  阅读(838)  评论(0编辑  收藏  举报