YAMLException: can not read a block mapping entry; a multiline key may not be an implicit key (10:7)

开源世界 4 个月前 回复

输入hexo d后 报错问题提示:
YAMLException: can not read a block mapping entry; a multiline key may not be an implicit key (10:7)

解决办法:
title: I'm YL
subtitle: '来自于hexo'
description: '大家好,我是元林,来自hexo'
keywords: '元林, 皇家元林,刘元林'
author: YL
language: en
timezone: 'Asia/ShangHai'

主要原因是冒号后面需要加个空格,加上就行了....

当然也有玄学的时候,加上了也不行,这个时候你就把能上传上去的博客开头部分复制过去改改,应该就可以了...

参考文章:https://blog.csdn.net/qq_54786552/article/details/123510563

支付宝打赏微信打赏

如果此文对你有帮助,欢迎打赏作者。

发表评论

欢迎回来 (打开)

(必填)