From 3c5c677a07e2cfebced20ccdc683e96590eef969 Mon Sep 17 00:00:00 2001 From: Alessandro Tagliapietra Date: Wed, 11 Feb 2015 00:09:40 +0100 Subject: [PATCH] Add Woff2 to relative assets extension --- middleman-core/lib/middleman-core/extensions/relative_assets.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/middleman-core/lib/middleman-core/extensions/relative_assets.rb b/middleman-core/lib/middleman-core/extensions/relative_assets.rb index 817119ca..88c73af3 100644 --- a/middleman-core/lib/middleman-core/extensions/relative_assets.rb +++ b/middleman-core/lib/middleman-core/extensions/relative_assets.rb @@ -1,6 +1,6 @@ # Relative Assets extension class Middleman::Extensions::RelativeAssets < ::Middleman::Extension - option :exts, %w(.css .png .jpg .jpeg .webp .svg .svgz .js .gif .ttf .otf .woff), 'List of extensions that get cache busters strings appended to them.' + option :exts, %w(.css .png .jpg .jpeg .webp .svg .svgz .js .gif .ttf .otf .woff .woff2), 'List of extensions that get cache busters strings appended to them.' option :sources, %w(.htm .html .css), 'List of extensions that are searched for relative assets.' option :ignore, [], 'Regexes of filenames to skip adding query strings to'