fix path for posts: must include "_posts"

This commit is contained in:
maul.esel 2013-04-12 18:17:57 +02:00
parent d64fd1e8fe
commit dc4d7c0bf4
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@ module Jekyll
"tags" => self.tags, "tags" => self.tags,
"content" => self.content, "content" => self.content,
"excerpt" => self.excerpt, "excerpt" => self.excerpt,
"path" => File.join(@dir, @name).sub(/\A\//, '') }) "path" => File.join(@dir, '_posts', @name).sub(/\A\//, '') })
end end
# Returns the shorthand String identifier of this Post. # Returns the shorthand String identifier of this Post.