Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Expand source, destination, and plugin paths. Fixes #180.

  • Loading branch information...
commit 1c3fedbb315ca6e227be5f9be1be8bd0d19f5273 1 parent 9085264
@mojombo mojombo authored
Showing with 4 additions and 3 deletions.
  1. +1 −0  History.txt
  2. +3 −3 lib/jekyll/site.rb
View
1  History.txt
@@ -2,6 +2,7 @@
* Bug Fixes
* 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)
== 0.6.1
* Bug Fixes
View
6 lib/jekyll/site.rb
@@ -14,9 +14,9 @@ def initialize(config)
self.config = config.clone
self.safe = config['safe']
- self.source = config['source']
- self.dest = config['destination']
- self.plugins = config['plugins']
+ self.source = File.expand_path(config['source'])
+ self.dest = File.expand_path(config['destination'])
+ self.plugins = File.expand_path(config['plugins'])
self.lsi = config['lsi']
self.pygments = config['pygments']
self.permalink_style = config['permalink'].to_sym
Please sign in to comment.
Something went wrong with that request. Please try again.