From a3396ba9cb532daae6ddb6e3959ed62ce9d45051 Mon Sep 17 00:00:00 2001 From: Martin Folkers Date: Mon, 2 Nov 2020 20:05:00 +0100 Subject: [PATCH] Adding HTML minification --- README.md | 4 ++-- site/config/config.localhost.php | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7fc8e3c..3c9efc4 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ This boilerplate provides a solid starting point that you can build upon: Workflow: - Sass / node-sass / libsass - Webpack -- CSS / JS minification +- HTML / CSS / JS minification - Image optimization - SVG icon sprites - Favicon generation @@ -37,6 +37,7 @@ Workflow: In order to keep everything neat, each task resides in [its own file](https://gulpjs.com/docs/en/getting-started/javascript-and-gulpfiles#splitting-a-gulpfile) under `tasks/`. Pre-installed Kirby plugins: +- [Minify HTML](https://github.com/afbora/kirby-minify-html) by @afbora - [Fingerprint](https://github.com/bnomei/kirby3-fingerprint) by @bnomei ## Getting started @@ -136,7 +137,6 @@ After generating favicons, insert this in your ``: - ``` ### Self-hosting fonts diff --git a/site/config/config.localhost.php b/site/config/config.localhost.php index 2c7747a..5f57f2f 100644 --- a/site/config/config.localhost.php +++ b/site/config/config.localhost.php @@ -5,4 +5,7 @@ # Activating debug mode 'debug' => true, + + # Disabling HTML minification + 'afbora.kirby-minify-html.enabled' => false, ];