Jekyll 没有为根文件夹中的降价页面生成 html
Jekyll is not generating html for markdown pages from root folder
我开始使用 Jekyll 将我的博客移动到 GitHub 页面。我正在使用本地 Jekyll 工具 (jekyll 3.1.3
),以 neo-hpstr-jekyll-theme
作为 Windows.
的起点
入口点(index.html
在 root 中)和帖子生成得很好。但是当我放置降价文件时(about.md
):
---
layout: page
title: "about me"
permalink: /about
---
here goes some content with markdown syntax...
构建后,此文件直接放置在 _site\about.md
文件夹下,内容完全相同(未转换)。应该改造一下放在_site\about\index.html
到目前为止,我已经检查了布局(它存在并且看起来不错)、文件中的 BOM(添加了 none)、_config.yml
中的永久链接配置(使用默认值)但没有结果。
知道我哪里做错了吗?
编辑:页面项目可用:https://github.com/mmierzwa/mmierzwa.github.io(开发分支)
当我在我最喜欢的编辑器中执行 view.encoding()
时,它告诉我您的 about.md
是 UTF-8 with BOM
编码的。
将其保存到 UTF-8 no BOM
。
我开始使用 Jekyll 将我的博客移动到 GitHub 页面。我正在使用本地 Jekyll 工具 (jekyll 3.1.3
),以 neo-hpstr-jekyll-theme
作为 Windows.
入口点(index.html
在 root 中)和帖子生成得很好。但是当我放置降价文件时(about.md
):
---
layout: page
title: "about me"
permalink: /about
---
here goes some content with markdown syntax...
构建后,此文件直接放置在 _site\about.md
文件夹下,内容完全相同(未转换)。应该改造一下放在_site\about\index.html
到目前为止,我已经检查了布局(它存在并且看起来不错)、文件中的 BOM(添加了 none)、_config.yml
中的永久链接配置(使用默认值)但没有结果。
知道我哪里做错了吗?
编辑:页面项目可用:https://github.com/mmierzwa/mmierzwa.github.io(开发分支)
当我在我最喜欢的编辑器中执行 view.encoding()
时,它告诉我您的 about.md
是 UTF-8 with BOM
编码的。
将其保存到 UTF-8 no BOM
。