require 'extensions/page'
require 'extensions/guide'

activate :automatic_image_sizes
activate :directory_indexes
activate :livereload

# Custom extensions
activate :page
activate :guide

activate :s3_sync do |s3_sync|
  s3_sync.bucket = 'bioboxes.org'
  s3_sync.region = 'us-west-1'
  s3_sync.acl = 'public-read'
end

set :css_dir, 'stylesheets'
set :js_dir, 'javascripts'
set :images_dir, 'images'
set :partials_dir, 'partials'

configure :build do
  activate :minify_css
  activate :minify_javascript
  activate :asset_hash
end

# silence i18n warning
::I18n.config.enforce_available_locales = false

page "*", :layout => "layouts/default"
page "/", :layout => "layouts/front-page"

require 'extensions/page'
require 'extensions/guide'

activate :automatic_image_sizes
activate :directory_indexes
activate :livereload

# Custom extensions
activate :page
activate :guide

activate :s3_sync do |s3_sync|
  s3_sync.bucket = 'bioboxes.org'
  s3_sync.region = 'us-west-1'
  s3_sync.acl = 'public-read'
end

set :css_dir, 'stylesheets'
set :js_dir, 'javascripts'
set :images_dir, 'images'
set :partials_dir, 'partials'

configure :build do
  activate :minify_css
  activate :asset_hash
end

# silence i18n warning
::I18n.config.enforce_available_locales = false

page "*", :layout => "layouts/default"
page "/", :layout => "layouts/front-page"

Disable compression of javascript to resolve error
Disable compression of javascript to resolve error

Signed-off-by: Michael Barton <1d6e1cf70ec6f9ab28d3ea4b27a49a77654d370e@michaelbarton.me.uk>
