lib/jekyll/page.rb in jekyll-0.6.1 vs lib/jekyll/page.rb in jekyll-0.6.2
- old
+ new
@@ -88,10 +88,10 @@
do_layout(payload, layouts)
end
def to_liquid
self.data.deep_merge({
- "url" => self.url,
+ "url" => File.join(@dir, self.url),
"content" => self.content })
end
# Write the generated page file to the destination directory.
# +dest_prefix+ is the String path to the destination dir