Skip to content

Commit

Permalink
Use Dir.pwd for other default paths as well (reverts fix in #101)
Browse files Browse the repository at this point in the history
  • Loading branch information
mojombo committed Jun 22, 2010
1 parent 36411dd commit de3ee99
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions History.txt
Expand Up @@ -16,14 +16,13 @@
* Only regenerate static files when they have changed (#142)
* Allow arbitrary options to Pygments (#31)
* Allow URL to be set via command line option (#147)
* Fix source directory binding using Dir.pwd (#75)
* Bug Fixes
* Render highlighted code for non markdown/textile pages (#116)
* Expand source to full path so includes work anywhere (#101)
* Fix highlighting on Ruby 1.9 (#65)
* Fix extension munging when pretty permalinks are enabled (#64)
* Stop sorting categories (#33)
* Preserve generated attributes over front matter (#119)
* Fix source directory binding using Dir.pwd (#75)

== 0.5.7 / 2010-01-12
* Minor Enhancements
Expand Down
4 changes: 2 additions & 2 deletions lib/jekyll.rb
Expand Up @@ -56,8 +56,8 @@ module Jekyll
'server_port' => 4000,

'source' => Dir.pwd,
'destination' => File.join('.', '_site'),
'plugins' => File.join('.', '_plugins'),
'destination' => File.join(Dir.pwd, '_site'),
'plugins' => File.join(Dir.pwd, '_plugins'),

'future' => true,
'lsi' => false,
Expand Down
4 changes: 2 additions & 2 deletions lib/jekyll/site.rb
Expand Up @@ -14,9 +14,9 @@ def initialize(config)
self.config = config.clone

self.safe = config['safe']
self.source = File.expand_path(config['source'])
self.source = config['source']
self.dest = config['destination']
self.plugins = File.expand_path(config['plugins'])
self.plugins = config['plugins']
self.lsi = config['lsi']
self.pygments = config['pygments']
self.permalink_style = config['permalink'].to_sym
Expand Down

0 comments on commit de3ee99

Please sign in to comment.