forked from icco/resume
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.rb
29 lines (23 loc) · 627 Bytes
/
config.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
###
# Page options, layouts, aliases and proxies
###
page "/index.html", :layout => false
set :css_dir, 'css'
set :js_dir, 'js'
set :images_dir, 'img'
# Build-specific configuration
configure :build do
# For example, change the Compass output style for deployment
activate :minify_css
# Minify Javascript on build
activate :minify_javascript
# Enable cache buster
activate :asset_hash, :ignore => [/^img/]
# Use relative URLs
activate :relative_assets
# https://github.com/plasticine/middleman-imageoptim
activate :imageoptim do |options|
options.pngout = false
options.svgo = false
end
end