我正在/docs
按照https://github.com/blog/2228-simpler-github-pages-publishing从我的文件夹中发布页面
如果我在页面上包含这个头条内容,构建就会中断。
---
layout: page
title: "Help Page"
permalink: /help
---
该页面已构建,但仅包含来自<body>
元素的数据。没有标题,没有样式表,只是乱码的 HTML。如果我使用layout: post
.
如果我删除了这条线layout: page
,那么一切正常。
根据 GitHub 文档 - https://help.github.com/articles/configuring-jekyll/ - 我应该能够在我的页面中使用这个frontmatter。
我错过了什么明显的东西?