From f1dbf72d7034c97290dc74e19cf6674ed6941bce Mon Sep 17 00:00:00 2001 From: sharath Kumar Date: Thu, 28 Mar 2019 19:49:46 +0530 Subject: [PATCH] Make HTML compression optional --- _config.yml | 4 ++++ _layouts/default.html | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/_config.yml b/_config.yml index ffe79c1..4e1e236 100644 --- a/_config.yml +++ b/_config.yml @@ -11,12 +11,16 @@ chrome_mobile_color: #use hex colors (ex:#1976d2) or leave empty if you don't wa # Tracker analytics: UA-83979019-1 + + # Sass/SCSS sass: sass_dir: _sass style: compressed # http://sass-lang.com/documentation/file.SASS_REFERENCE.html#output_style # Build settings +compress-site: yes + encoding: "utf-8" compress_html: # - http://jch.penibelst.de/ clippings: all diff --git a/_layouts/default.html b/_layouts/default.html index 81c56e5..a4fecef 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,10 +1,10 @@ --- -layout: compress +#Add "layout: compress" here to compress the html code --- - - - + + + {% include head.html %}