From ba9fb4dae31cbf6969ed1ec917faca956044e063 Mon Sep 17 00:00:00 2001 From: Lars Henrik Mai Date: Sun, 21 Sep 2014 12:42:12 +0200 Subject: configure foundation --- config.rb | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'config.rb') diff --git a/config.rb b/config.rb index 6eb6176..f24cebb 100644 --- a/config.rb +++ b/config.rb @@ -53,10 +53,12 @@ end # Compass ### -# Change Compass configuration -# compass_config do |config| -# config.output_style = :compact -# end +compass_config do |config| + # Require any additional compass plugins here. + config.add_import_path "bower_components/foundation/scss" + + config.output_style = :compact +end ### # Page options, layouts, aliases and proxies @@ -104,6 +106,12 @@ set :images_dir, 'images' set :relative_links, true +# Add bower's directory to sprockets asset path +after_configuration do + @bower_config = JSON.parse(IO.read("#{root}/.bowerrc")) + sprockets.append_path File.join "#{root}", @bower_config["directory"] +end + # Build-specific configuration configure :build do # For example, change the Compass output style for deployment -- cgit v1.2.1