Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit f35d287c66e8f052ed678efcfd18ad353891e5ab 1 parent 1c3fedb
@mojombo mojombo authored
Showing with 2 additions and 1 deletion.
  1. +1 −0  History.txt
  2. +1 −1  lib/jekyll/page.rb
View
1  History.txt
@@ -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
2  lib/jekyll/page.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.