Make HTML compression optional

This commit is contained in:
sharath Kumar 2019-03-28 19:49:46 +05:30
parent 99f4917a99
commit f1dbf72d70
2 changed files with 8 additions and 4 deletions

View File

@ -11,12 +11,16 @@ chrome_mobile_color: #use hex colors (ex:#1976d2) or leave empty if you don't wa
# Tracker # Tracker
analytics: UA-83979019-1 analytics: UA-83979019-1
# Sass/SCSS # Sass/SCSS
sass: sass:
sass_dir: _sass sass_dir: _sass
style: compressed # http://sass-lang.com/documentation/file.SASS_REFERENCE.html#output_style style: compressed # http://sass-lang.com/documentation/file.SASS_REFERENCE.html#output_style
# Build settings # Build settings
compress-site: yes
encoding: "utf-8" encoding: "utf-8"
compress_html: # - http://jch.penibelst.de/ compress_html: # - http://jch.penibelst.de/
clippings: all clippings: all

View File

@ -1,10 +1,10 @@
--- ---
layout: compress #Add "layout: compress" here to compress the html code
--- ---
<!DOCTYPE html> <!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]--> <!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]--> <!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!--> <html lang="en"> <!--<![endif]--> <!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->
{% include head.html %} {% include head.html %}
<body> <body>