fix path for posts: must include "_posts"
This commit is contained in:
parent
d64fd1e8fe
commit
dc4d7c0bf4
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue