Class: Jekyll::Page
- Inherits:
-
Object
- Object
- Jekyll::Page
- Includes:
- MinifyHTML
- Defined in:
- lib/jekyll-minify-html.rb
Instance Method Summary collapse
Methods included from MinifyHTML
Instance Method Details
#write(dest) ⇒ Object
33 34 35 36 37 38 39 40 |
# File 'lib/jekyll-minify-html.rb', line 33 def write(dest) dest_path = destination(dest) if File.extname(dest_path).downcase == '.html' output_html(dest_path, output) else output_file(dest_path, output) end end |