added font file types to asset_hash extension
added svg files to asset_hash extension
This commit is contained in:
parent
aa633a1cd3
commit
0bedb36f3f
|
@ -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