Module: Octopress

Defined in:
lib/octopress-date-format.rb,
lib/octopress-date-format/version.rb,
lib/octopress-date-format/configuration.rb

Defined Under Namespace

Modules: PageDate Classes: DateFormat

Class Method Summary collapse

Class Method Details

.configObject



3
4
5
6
7
8
9
10
# File 'lib/octopress-date-format/configuration.rb', line 3

def self.config
  file = '_octopress.yml'
  if File.exist?(file)
    SafeYAML.load_file(file) || {}
  else
    {}
  end
end