From 0bedb36f3f99ab47dad38d1d7824c41532fc39e0 Mon Sep 17 00:00:00 2001 From: Nico Hagenburger Date: Wed, 9 Jan 2013 22:07:41 +0100 Subject: [PATCH] added font file types to asset_hash extension added svg files to asset_hash extension --- middleman-more/lib/middleman-more/extensions/asset_hash.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/middleman-more/lib/middleman-more/extensions/asset_hash.rb b/middleman-more/lib/middleman-more/extensions/asset_hash.rb index 32326f15..4c8942be 100644 --- a/middleman-more/lib/middleman-more/extensions/asset_hash.rb +++ b/middleman-more/lib/middleman-more/extensions/asset_hash.rb @@ -7,7 +7,7 @@ module Middleman require 'rack/test' require 'uri' - exts = options[:exts] || %w(.jpg .jpeg .png .gif .js .css) + exts = options[:exts] || %w(.jpg .jpeg .png .gif .js .css .otf .woff .eot .ttf .svg) # Allow specifying regexes to ignore, plus always ignore apple touch icons ignore = Array(options[:ignore]) << /^apple-touch-icon/