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.