Class: Jekyll::Page
- Inherits:
-
Object
- Object
- Jekyll::Page
- Includes:
- Compressor
- Defined in:
- lib/jekyll-minifier.rb
Instance Method Summary collapse
Methods included from Compressor
#output_compressed, #output_css, #output_file, #output_html, #output_js, #output_json
Instance Method Details
#write(dest) ⇒ Object
177 178 179 180 181 182 183 184 185 |
# File 'lib/jekyll-minifier.rb', line 177 def write(dest) dest_path = destination(dest) if exclude?(dest, dest_path) output_file(dest_path, output) else output_compressed(dest_path, output) end Jekyll::Hooks.trigger hook_owner, :post_write, self end |