Skip to content

Commit

Permalink
Fix page.url to include full relative path. Fixes #181.
Browse files Browse the repository at this point in the history
  • Loading branch information
mojombo committed Jun 25, 2010
1 parent 1c3fedb commit f35d287
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions History.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/jekyll/page.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f35d287

Please sign in to comment.