--- # # Jekyll layout that compresses HTML # v0.3.1 # https://github.com/penibelst/jekyll-compress-html # © 2014 Anatol Broder (http://penibelst.de/) # MIT License # --- {% assign _pres = content | split: '
' %}{% if _pre2.size == 2 %}{% endif %}{% assign _second = _pre2.last | split: ' ' | join: ' ' %}{% for _element in site.compress_html.clippings %}{% assign _edges = ', ; ,' | replace: 'element', _element | split: ';' %}{% for _edge in _edges %}{% assign _replacement = _edge | split: ',' %}{% assign _second = _second | replace: _replacement[0], _replacement[1] %}{% endfor %}{% endfor %}{% for _element in site.compress_html.endings %}{% assign _closing = '' | replace: 'element', _element %}{% assign _second = _second | remove: _closing %}{% endfor %}{{ _second }}{% endfor %}