Jekyll的_config文件配置报错

8 April 2019

by IchiehPan

Jekyll 搭建博客时, 修改完_config.yml文件后就收到了github的build error邮件.

大致内容如下:

did not find expected key while parsing a block mapping at line 16 column 1

经过排查, 发现是description标签的问题

description: >- # this means to ignore newlines until "baseurl:"
  一个关于日常笔记的个人博客
  ---
  A personal blog about daily notes
#  Write an awesome description for your new site here. You can edit this
#  line in _config.yml. It will appear in your document head meta (for
#  Google search results) and in your feed.xml site description.

这里的注释不能放在description的下一行.

tags:

猜你喜欢

转载自www.cnblogs.com/lijianming180/p/12046804.html
今日推荐