mirror of
https://github.com/jekyll/jekyll.git
synced 2026-01-31 01:38:24 -05:00
fix path for posts: must include "_posts"
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user