Permalink
Browse files

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

  • Loading branch information...
1 parent 1c3fedb commit f35d287c66e8f052ed678efcfd18ad353891e5ab @mojombo mojombo committed Jun 25, 2010
Showing with 2 additions and 1 deletion.
  1. +1 −0 History.txt
  2. +1 −1 lib/jekyll/page.rb
View
@@ -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
@@ -90,7 +90,7 @@ def render(layouts, site_payload)
def to_liquid
self.data.deep_merge({
- "url" => self.url,
+ "url" => File.join(@dir, self.url),
"content" => self.content })
end

0 comments on commit f35d287

Please sign in to comment.