From e88ea2a5ddf09bd1cfc32cccc1c825a9ccf30537 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Fri, 9 Sep 2016 10:23:43 -0400 Subject: [PATCH] Document how to enable `compress` layout as it is no longer on by default. --- _docs/09-layouts.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/_docs/09-layouts.md b/_docs/09-layouts.md index fe828dea..47e17bb4 100644 --- a/_docs/09-layouts.md +++ b/_docs/09-layouts.md @@ -7,7 +7,7 @@ single_layout_gallery: alt: "single layout with header example" - image_path: mm-layout-single-meta.png alt: "single layout with comments and related posts" -modified: 2016-08-31T11:00:49-04:00 +modified: 2016-09-09T10:22:01-04:00 --- {% include base_path %} @@ -30,7 +30,10 @@ The base layout all other layouts inherit from. There's not much to this layout ## Compress Layout -A Jekyll layout that compresses HTML in pure Liquid. +A Jekyll layout that compresses HTML in pure Liquid. To enable add `layout: compress` to `_layouts/default.html`. + +**Note:** Has been none to mangle markup and break JavaScript... especially if inline `// comments` are present. For this reason it has been disabled by default. +{: .notice--danger} * [Documentation](http://jch.penibelst.de/)