zeus.ugent.be/lib/filters/htmlpress.rb

6 lines
136 B
Ruby
Raw Normal View History

require 'htmlcompressor'
2016-12-29 13:37:22 +01:00
Nanoc::Filter.define(:html_press) do |content, _params|
HtmlCompressor::Compressor.new.compress content
2016-12-29 13:37:22 +01:00
end