9 lines
169 B
Ruby
9 lines
169 B
Ruby
module Jekyll
|
|
class EnvironmentVariablesGenerator < Generator
|
|
|
|
def generate(site)
|
|
site.config['env'] = ENV['JEKYLL_ENV'] || 'development'
|
|
end
|
|
|
|
end
|
|
end
|