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
Instance Method Details
#write(dest) ⇒ Object
155 156 157 158 159 160 161 162 163 |
# File 'lib/jekyll-minifier.rb', line 155 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 |