added font file types to asset_hash extension
added svg files to asset_hash extension
This commit is contained in:
parent
df539e2743
commit
fbb7820ecd
|
@ -7,7 +7,7 @@ module Middleman
|
||||||
require 'rack/test'
|
require 'rack/test'
|
||||||
require 'uri'
|
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
|
# Allow specifying regexes to ignore, plus always ignore apple touch icons
|
||||||
ignore = Array(options[:ignore]) << /^apple-touch-icon/
|
ignore = Array(options[:ignore]) << /^apple-touch-icon/
|
||||||
|
|
Loading…
Reference in a new issue