lib/jekyll-minifier.rb in jekyll-minifier-0.1.0 vs lib/jekyll-minifier.rb in jekyll-minifier-0.1.1

- old
+ new

@@ -49,10 +49,11 @@ include Compressor def write(dest) dest_path = destination(dest) output_html(dest_path, output) + trigger_hooks(:post_write) end end class Page include Compressor @@ -62,9 +63,10 @@ if exclude?(dest, dest_path) output_file(dest_path, output) else output_html(dest_path, output) end + Jekyll::Hooks.trigger hook_owner, :post_write, self end end class StaticFile include Compressor