better feature defaults
This commit is contained in:
parent
00186be40a
commit
c0349f742e
3 changed files with 16 additions and 6 deletions
|
@ -111,8 +111,7 @@ class Middleman::Base
|
||||||
|
|
||||||
# Default build features
|
# Default build features
|
||||||
configure :build do
|
configure :build do
|
||||||
enable :minify_css
|
enable :relative_assets
|
||||||
enable :minify_javascript
|
|
||||||
enable :cache_buster
|
enable :cache_buster
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -4,15 +4,27 @@
|
||||||
|
|
||||||
# Helpers
|
# Helpers
|
||||||
helpers do
|
helpers do
|
||||||
|
def some_helper(*args)
|
||||||
|
"Helping"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Generic configuration
|
# Automatic sitemaps
|
||||||
# enable :slickmap
|
# enable :slickmap
|
||||||
|
|
||||||
|
# Automatic image dimension calculations
|
||||||
|
# enable :automatic_image_sizes
|
||||||
|
|
||||||
# Build-specific configuration
|
# Build-specific configuration
|
||||||
configure :build do
|
configure :build do
|
||||||
# For example, change the Compass output style for deployment
|
# For example, change the Compass output style for deployment
|
||||||
# enable :minified_css
|
# enable :minify_css
|
||||||
|
|
||||||
|
# Minify Javascript on build
|
||||||
|
# enable :minify_javascript
|
||||||
|
|
||||||
|
# Shrink/smush PNG/JPEGs on build
|
||||||
|
# enable :smush_pngs
|
||||||
|
|
||||||
# Or use a different image path
|
# Or use a different image path
|
||||||
# set :http_path, "/Content/images/"
|
# set :http_path, "/Content/images/"
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
@import compass.sass
|
@import compass.sass
|
||||||
@import blueprint/modules/grid.sass
|
@import blueprint/screen.sass
|
||||||
@import blueprint/modules/typography.sass
|
|
||||||
|
|
||||||
+global-reset
|
+global-reset
|
||||||
+blueprint-typography
|
+blueprint-typography
|
||||||
|
|
Loading…
Add table
Reference in a new issue