mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-11-16 06:05:00 -05:00
Added Octopress.env
This commit is contained in:
parent
33885dd791
commit
fa2aa4913d
@ -1,7 +1,12 @@
|
||||
$:.unshift File.dirname(__FILE__) # For use/testing when no gem is installed
|
||||
|
||||
module Octopress
|
||||
end
|
||||
|
||||
require "octopress/core_ext"
|
||||
require "octopress/configuration"
|
||||
|
||||
module Octopress
|
||||
|
||||
# Static: Fetches the Octopress environment
|
||||
def self.env
|
||||
ENV["OCTOPRESS_ENV"] || Configuration.read_config("defaults/jekyll.yml")[:env]
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user