Sha256: 4a84d442e9d88ea9eb9b8d6b82933c3385eae044ddee4d1d223b2a400801b372
Contents?: true
Size: 1.14 KB
Versions: 25
Compression:
Stored size: 1.14 KB
Contents
# html5boilerplate uses "css" set :css_dir, "css" # html5boilerplate uses "js" set :js_dir, "js" # html5boilerplate uses "images" set :images_dir, "images" # Per-page layout changes # With no layout # page "/path/to/file.html", :layout => false # With alternative layout # page "/path/to/file.html", :layout => :otherlayout # Helpers helpers do def some_helper(*args) "Helping" end end # CodeRay syntax highlighting in Haml # activate :code_ray # Automatic sitemaps (gem install middleman-slickmap) # require "middleman-slickmap" # activate :slickmap # Automatic image dimension calculations in Haml # activate :automatic_image_sizes # 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 :cache_buster # Use relative URLs # activate :relative_assets # Compress PNGs after build (gem install middleman-smusher) # require "middleman-smusher" # activate :smusher # Or use a different image path # set :http_path, "/Content/images/" end
Version data entries
25 entries across 25 versions & 1 rubygems