Fix page.url to include full relative path. Fixes #181.
This commit is contained in:
parent
1c3fedbb31
commit
f35d287c66
|
@ -3,6 +3,7 @@
|
||||||
* Fix Rakefile 'release' task (tag pushing was missing origin)
|
* Fix Rakefile 'release' task (tag pushing was missing origin)
|
||||||
* Ensure that RedCloth is loaded when textilize filter is used (#183)
|
* Ensure that RedCloth is loaded when textilize filter is used (#183)
|
||||||
* Expand source, destination, and plugin paths (#180)
|
* Expand source, destination, and plugin paths (#180)
|
||||||
|
* Fix page.url to include full relative path (#181)
|
||||||
|
|
||||||
== 0.6.1
|
== 0.6.1
|
||||||
* Bug Fixes
|
* Bug Fixes
|
||||||
|
|
|
@ -90,7 +90,7 @@ module Jekyll
|
||||||
|
|
||||||
def to_liquid
|
def to_liquid
|
||||||
self.data.deep_merge({
|
self.data.deep_merge({
|
||||||
"url" => self.url,
|
"url" => File.join(@dir, self.url),
|
||||||
"content" => self.content })
|
"content" => self.content })
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue