From b24b870ec62d33bf95d01ef6ff28a294300cec47 Mon Sep 17 00:00:00 2001 From: kleinfreund Date: Sun, 3 Aug 2014 23:06:14 +0200 Subject: [PATCH] Update welcome post to clarify front matter usage --- .../_posts/0000-00-00-welcome-to-jekyll.markdown.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb b/lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb index 3f0d1d9a..024a262a 100644 --- a/lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb +++ b/lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb @@ -4,7 +4,9 @@ title: "Welcome to Jekyll!" date: <%= Time.now.strftime('%Y-%m-%d %H:%M:%S') %> categories: jekyll update --- -You’ll find this post in your `_posts` directory – edit it and re-build (or run with the `--watch` switch) to see your changes. To add new posts, simply add a file in the `_posts` directory that follows the convention: YYYY-MM-DD-name-of-post.ext. +You’ll find this post in your `_posts` directory – edit it and re-build (or run with the `--watch` switch) to see your changes. + +To add new posts, simply add a file in the `_posts` directory that follows the convention YYYY-MM-DD-name-of-post.ext and includes the necessary front matter. Take a look at the source for this post to get an idea about how it works. Jekyll also offers powerful support for code snippets: