middleman/lib/middleman/template/init.rbt
2009-11-02 16:41:28 -08:00

34 lines
761 B
Plaintext

<% if css_dir %>set :css_dir, "<%= css_dir -%>"<% end %>
<% if js_dir %>set :js_dir, "<%= js_dir -%>"<% end %>
<% if images_dir %>set :images_dir, "<%= images_dir -%>"<% end %>
# Helpers
helpers do
def some_helper(*args)
"Helping"
end
end
# 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 :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/"
# Disable cache buster
# disable :cache_buster
end