diff --git a/lib/fontcustom/generator/template.rb b/lib/fontcustom/generator/template.rb index 25290baa..10ec4d02 100644 --- a/lib/fontcustom/generator/template.rb +++ b/lib/fontcustom/generator/template.rb @@ -185,7 +185,7 @@ def font_face(style = {}) end def woff_base64 - woff_path = File.join(@options[:output][:fonts], "#{@font_path}.woff") + woff_path = File.join(@options[:output][:css], "#{@font_path}.woff") Base64.encode64(File.binread(File.join(woff_path))).gsub("\n", "") end