lib/middleman-slim/template/shared/config.tt in middleman-slim-0.1.2 vs lib/middleman-slim/template/shared/config.tt in middleman-slim-0.2.0

- old
+ new

@@ -1,5 +1,7 @@ +require "slim" + ### # Compass ### # Change Compass configuration @@ -45,34 +47,14 @@ # def some_helper # "Helping" # end # end -### -# Gem -### -require 'slim' +set :css_dir, 'stylesheets' -<% if options[:css_dir] -%> -set :css_dir, '<%= options[:css_dir] -%>' -<% else -%> -# Change the CSS directory -# set :css_dir, "alternative_css_directory" -<% end -%> +set :js_dir, 'javascripts' -<% if options[:js_dir] -%> -set :js_dir, '<%= options[:js_dir] -%>' -<% else -%> -# Change the JS directory -# set :js_dir, "alternative_js_directory" -<% end -%> - -<% if options[:images_dir] -%> -set :images_dir, '<%= options[:images_dir] -%>' -<% else -%> -# Change the images directory -# set :images_dir, "alternative_image_directory" -<% end -%> +set :images_dir, 'images' # Build-specific configuration configure :build do # For example, change the Compass output style for deployment # activate :minify_css