2014-07-16 23:51:48 +02:00
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
# Configure Middleman
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
|
|
|
set :css_dir, 'stylesheets'
|
|
|
|
set :js_dir, 'javascripts'
|
|
|
|
set :images_dir, 'images'
|
|
|
|
|
|
|
|
# Use the RedCarpet Markdown engine
|
|
|
|
set :markdown_engine, :redcarpet
|
|
|
|
set :markdown,
|
|
|
|
:fenced_code_blocks => true,
|
|
|
|
:with_toc_data => true
|
|
|
|
|
|
|
|
# Build-specific configuration
|
|
|
|
configure :build do
|
|
|
|
activate :asset_hash
|
2014-08-06 02:59:27 +02:00
|
|
|
activate :minify_html, remove_multi_spaces: false
|
2014-07-16 23:51:48 +02:00
|
|
|
activate :minify_javascript
|
|
|
|
end
|
2014-07-28 16:08:29 +02:00
|
|
|
|
|
|
|
configure :development do
|
|
|
|
set :debug_assets, true
|
|
|
|
end
|