Fix page.url to include full relative path. Fixes #181.

This commit is contained in:
Tom Preston-Werner 2010-06-25 15:12:39 -07:00
parent 1c3fedbb31
commit f35d287c66
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
* Fix Rakefile 'release' task (tag pushing was missing origin)
* Ensure that RedCloth is loaded when textilize filter is used (#183)
* Expand source, destination, and plugin paths (#180)
* Fix page.url to include full relative path (#181)
== 0.6.1
* Bug Fixes

View File

@ -90,7 +90,7 @@ module Jekyll
def to_liquid
self.data.deep_merge({
"url" => self.url,
"url" => File.join(@dir, self.url),
"content" => self.content })
end