From 1f5b48f5f3ab1ca0e6b69e68445de5cb80dfdcfc Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Mon, 10 Jul 2017 19:22:47 +0100 Subject: [PATCH] Add jekyll-tidy plugin for tidy HTML output --- Gemfile | 1 + Gemfile.lock | 7 +++++++ _config.yml | 1 + 3 files changed, 9 insertions(+) diff --git a/Gemfile b/Gemfile index 56d03c7..fefd6a7 100644 --- a/Gemfile +++ b/Gemfile @@ -13,6 +13,7 @@ group :jekyll_plugins do gem 'jekyll-pants' gem 'jekyll-seo-tag' gem 'jekyll-sitemap' + gem 'jekyll-tidy' gem 'uglifier' # required by 'jekyll-assets' for JS compression end diff --git a/Gemfile.lock b/Gemfile.lock index 3cce126..91ecdd9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -12,6 +12,8 @@ GEM fastimage (2.1.0) ffi (1.9.18) forwardable-extended (2.6.0) + htmlbeautifier (1.3.1) + htmlcompressor (0.3.1) jekyll (3.5.0) addressable (~> 2.4) colorator (~> 1.0) @@ -39,6 +41,10 @@ GEM jekyll (~> 3.3) jekyll-sitemap (1.0.0) jekyll (~> 3.3) + jekyll-tidy (0.2.2) + htmlbeautifier + htmlcompressor + jekyll jekyll-watch (1.5.0) listen (~> 3.0, < 3.1) kramdown (1.14.0) @@ -86,6 +92,7 @@ DEPENDENCIES jekyll-pants jekyll-seo-tag jekyll-sitemap + jekyll-tidy rake rubocop tzinfo-data diff --git a/_config.yml b/_config.yml index e563174..5b64589 100644 --- a/_config.yml +++ b/_config.yml @@ -36,6 +36,7 @@ plugins: - jekyll-pants - jekyll-sitemap - jekyll-seo-tag + - jekyll-tidy defaults: -