Sha256: 36ff4dc4d067089dfd6e5dc049eaa02f23d2ae24e748b952e9d6afc122c5f377

Contents?: true

Size: 834 Bytes

Versions: 9

Compression:

Stored size: 834 Bytes

Contents

require_relative '../lib/baron'

GOOGLE_ANALYTICS = 'UA-XXXXXX-X'
GOOGLE_WEBMASTER = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
SAMPLE_DATA_PATH = 'spec/sample_data/'    # must contain a trailing slash

def load_config
  Baron::Config.new(:markdown => true,
                    :title => 'my blog',
                    :author => 'John Smith',
                    :url => 'http://localhost',
                    :permalink_prefix => '',
                    :permalink_date_format => :year_month_day_date, # :year_date, :year_month_date, :year_month_day_date, :no_date
                    :article_max => 5,
                    :theme => 'typography',
                    :sample_data_path => SAMPLE_DATA_PATH,
                    :google_analytics => GOOGLE_ANALYTICS,
                    :google_webmaster => GOOGLE_WEBMASTER)
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
baron-1.0.13 spec/spec_helper.rb
baron-1.0.12 spec/spec_helper.rb
baron-1.0.11 spec/spec_helper.rb
baron-1.0.9 spec/spec_helper.rb
baron-1.0.8 spec/spec_helper.rb
baron-1.0.7 spec/spec_helper.rb
baron-1.0.6 spec/spec_helper.rb
baron-1.0.5 spec/spec_helper.rb
baron-1.0.4 spec/spec_helper.rb