mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
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
|
||||
configure :build do
|
||||
enable :minify_css
|
||||
enable :minify_javascript
|
||||
enable :relative_assets
|
||||
enable :cache_buster
|
||||
end
|
||||
|
||||
|
|
|
@ -4,15 +4,27 @@
|
|||
|
||||
# Helpers
|
||||
helpers do
|
||||
def some_helper(*args)
|
||||
"Helping"
|
||||
end
|
||||
end
|
||||
|
||||
# Generic configuration
|
||||
# Automatic sitemaps
|
||||
# enable :slickmap
|
||||
|
||||
# Automatic image dimension calculations
|
||||
# enable :automatic_image_sizes
|
||||
|
||||
# Build-specific configuration
|
||||
configure :build do
|
||||
# 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
|
||||
# set :http_path, "/Content/images/"
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
@import compass.sass
|
||||
@import blueprint/modules/grid.sass
|
||||
@import blueprint/modules/typography.sass
|
||||
@import blueprint/screen.sass
|
||||
|
||||
+global-reset
|
||||
+blueprint-typography
|
||||
|
|
Loading…
Reference in a new issue