0
votes

My jekyll YAML header infomation can't be rightly parse by github page server.

my blog markdown file under _posts is named 2014-08-28-just-build-my-blog-site.md, and it's like:

---
layout: post
title: just build my blog site
---
Hello World. goodbye *lofter*.

The markdown file can be rightly turned into html in my local jekyll server. But when I upload my post to github. github turn the "---" in md file into

<hr> 

html tag.

Why the jekyll of my local computer can rightly parse my markdown file, but the jekyll of github can't. What should I do? Thanks first.

1

1 Answers

2
votes

Your text editor is saving files in an 'unknown' encoding. Maybe chinese. Try to encode as utf-8 it's a standard for Jekyll