From e35c9b780511add8e3d54350e1f1e81ef38bc2ba Mon Sep 17 00:00:00 2001 From: leesei Date: Tue, 8 Dec 2015 10:23:09 +0800 Subject: [PATCH] wrap front matter in `---` so GitHub can preview it in a table Changes to be committed: modified: scaffolds/draft.md modified: scaffolds/page.md modified: scaffolds/post.md modified: source/_posts/hello-world.md --- scaffolds/draft.md | 1 + scaffolds/page.md | 1 + scaffolds/post.md | 1 + source/_posts/hello-world.md | 1 + 4 files changed, 4 insertions(+) diff --git a/scaffolds/draft.md b/scaffolds/draft.md index 45b1bb75..498e95ba 100644 --- a/scaffolds/draft.md +++ b/scaffolds/draft.md @@ -1,3 +1,4 @@ +--- title: {{ title }} tags: --- diff --git a/scaffolds/page.md b/scaffolds/page.md index f484b761..f01ba3cd 100644 --- a/scaffolds/page.md +++ b/scaffolds/page.md @@ -1,3 +1,4 @@ +--- title: {{ title }} date: {{ date }} --- diff --git a/scaffolds/post.md b/scaffolds/post.md index c590d7a7..1f9b9a46 100644 --- a/scaffolds/post.md +++ b/scaffolds/post.md @@ -1,3 +1,4 @@ +--- title: {{ title }} date: {{ date }} tags: diff --git a/source/_posts/hello-world.md b/source/_posts/hello-world.md index d2f98927..e8110e3c 100644 --- a/source/_posts/hello-world.md +++ b/source/_posts/hello-world.md @@ -1,3 +1,4 @@ +--- title: Hello World --- Welcome to [Hexo](http://hexo.io/)! This is your very first post. Check [documentation](http://hexo.io/docs/) for more info. If you get any problems when using Hexo, you can find the answer in [troubleshooting](http://hexo.io/docs/troubleshooting.html) or you can ask me on [GitHub](https://github.com/hexojs/hexo/issues).