标题中冒号后面的空格会引发Hexo错误 | Space after colon is not allowed appear in a post title of Hexo | YAMLException: incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line at line 1, column 44

Error Information

1
YAMLException: incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line at line 1, column 44:

Reason

Space after colon would be consider as the keyword of Hexo’s Foront-matter like title or date.

Solution

Replace :_(colon and space) by :  which would be automatically regard as Space in HTML.

Tipping