summaryrefslogtreecommitdiff
path: root/config.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config.rb')
-rw-r--r--config.rb18
1 files changed, 13 insertions, 5 deletions
diff --git a/config.rb b/config.rb
index 6eb6176..ec93867 100644
--- a/config.rb
+++ b/config.rb
@@ -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