Jekyll 不会从根文件夹为 Markdown 页面生成 html

Mar*_*rek 2 html markdown jekyll

我已经开始使用 Jekyll 将我的博客移至 GitHub Pages。我在 Windows 上使用本地 Jekyll 工具 ( jekyll 3.1.3)neo-hpstr-jekyll-theme作为起点。

入口点(index.html在 root 中)和帖子生成得很好。但是当我放置降价文件 ( about.md) 时:

---
layout: page
title:  "about me"
permalink: /about
---
here goes some content with markdown syntax...
Run Code Online (Sandbox Code Playgroud)

构建后,此文件直接放置在_site\about.md具有完全相同内容(未转换)的文件夹下。它应该被改造并放置在_site\about\index.html

到目前为止,我已经检查了布局(它存在并且看起来不错)、文件中的 BOM(没有添加)、永久链接配置_config.yml(使用默认值)但没有结果。

知道我做错了什么吗?


编辑:页面项目位于:https : //github.com/mmierzwa/mmierzwa.github.io(开发分支)

Dav*_*uel 6

当我view.encoding()在我最喜欢的编辑器中进行操作时,它告诉我您的about.mdUTF-8 with BOM编码。

将其保存到UTF-8 no BOM.