4
Hexo blog title include special symbols reports error
source link: https://amonxu.com/2023/09/18/en/2023-09-03-Hexo-Title-Symbol-Error/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Hexo blog title include special symbols reports error
2023-09-18 0 Comments
In my Hexo blog, when I include special symbols inside the title in posts, it reports this error:
ERROR Process failed: _posts/en/XXX.md
YAMLException: incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line at line 1, column 54:
... for Backend System Refactoring\: How to do backend system refac ...
Solution:
Include the title in single quotes, like:
title: 'How to read a book'
lang: en
date: 2023-01-01
可以请我喝瓶水吗:)
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK