diff options
author | Lars Henrik Mai <lars.mai@kontinui.de> | 2014-09-23 08:44:31 +0200 |
---|---|---|
committer | Lars Henrik Mai <lars.mai@kontinui.de> | 2014-09-23 08:44:31 +0200 |
commit | 7fc6575a7a38daa21a26e2b179a92ca809b61eea (patch) | |
tree | 679498b3fd59aa375c6c6ce7ba48ed3d6a6e11d7 /config.rb | |
parent | 35239fc1f4641db1e602383b43cc29b151cde9b9 (diff) | |
parent | 1c177d628ffdb693483b1c39b94b5f19adcd8095 (diff) |
Merge branch 'replace-bootstrap-with-foundation'
Diffstat (limited to 'config.rb')
-rw-r--r-- | config.rb | 18 |
1 files changed, 13 insertions, 5 deletions
@@ -12,7 +12,7 @@ activate :blog do |blog| # Matcher for blog source files # blog.sources = "{year}-{month}-{day}-{title}.html" # blog.taglink = "tags/{tag}.html" - # blog.layout = "layout" + blog.layout = "article_layout" # blog.summary_separator = /(READMORE)/ # blog.summary_length = 250 @@ -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 |