zeus.ugent.be/lib/filters/htmlpress.rb
2018-05-16 22:42:07 +02:00

5 lines
136 B
Ruby

require 'htmlcompressor'
Nanoc::Filter.define(:html_press) do |content, _params|
HtmlCompressor::Compressor.new.compress content
end