added font file types to asset_hash extension
added svg files to asset_hash extension
This commit is contained in:
parent
df539e2743
commit
fbb7820ecd
1 changed files with 1 additions and 1 deletions
|
@ -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/
|
||||
|
|
Loading…
Reference in a new issue