From dc4d7c0bf4cf20b16ad0c51040bf4aca05de9c04 Mon Sep 17 00:00:00 2001 From: "maul.esel" Date: Fri, 12 Apr 2013 18:17:57 +0200 Subject: [PATCH] fix path for posts: must include "_posts" --- lib/jekyll/post.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jekyll/post.rb b/lib/jekyll/post.rb index 45de5267..1da37001 100644 --- a/lib/jekyll/post.rb +++ b/lib/jekyll/post.rb @@ -287,7 +287,7 @@ module Jekyll "tags" => self.tags, "content" => self.content, "excerpt" => self.excerpt, - "path" => File.join(@dir, @name).sub(/\A\//, '') }) + "path" => File.join(@dir, '_posts', @name).sub(/\A\//, '') }) end # Returns the shorthand String identifier of this Post.