mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-11-16 06:05:00 -05:00
Fixed undefined variable timezone in Rakefile
It made it impossible to create a new page on 2.1
This commit is contained in:
parent
9254c233b9
commit
a6f2fdccd5
2
Rakefile
2
Rakefile
@ -178,7 +178,7 @@ task :new_page, :filename do |t, args|
|
||||
abort("rake aborted!") if ask("#{file} already exists. Do you want to overwrite?", ['y', 'n']) == 'n'
|
||||
end
|
||||
puts "Creating new page: #{file}"
|
||||
time = now_in_timezone(timezone)
|
||||
time = now_in_timezone(configuration[:timezone])
|
||||
open(file, 'w') do |page|
|
||||
page.puts "---"
|
||||
page.puts "layout: page"
|
||||
|
Loading…
Reference in New Issue
Block a user