compress

 

compress removes non-license comments and blank lines outside of <pre> tags for the provided content.

Iteration within Liquid templates can result in extra blank lines (although Liquid does provide whitespace controls).

compress is a root level filter to clean up html source and reduce file size. It is a simplified version of jekyll-compress-html.

Usage

---
layout: "compress"
---
<content>
programming pages 2020 pixeldroid
https://github.com/pixeldroid/programming-pages
programming pages theme v0.5.22 (https://github.com/pixeldroid/programming-pages)