From bf68498cdcd7e745f85c7877bade409b7b913d09 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Wed, 18 Apr 2018 22:44:43 +0300
Subject: [PATCH] Minify HTML, CSS.

---
 Pipfile        |  1 +
 Pipfile.lock   | 21 ++++++++++++++++++++-
 publishconf.py |  1 +
 3 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/Pipfile b/Pipfile
index 4dba548..47b2184 100644
--- a/Pipfile
+++ b/Pipfile
@@ -6,6 +6,7 @@ name = "pypi"
 [packages]
 pelican = "*"
 "fabric3" = "*"
+pelican-minification = "*"
 
 [dev-packages]
 
diff --git a/Pipfile.lock b/Pipfile.lock
index 1e0ae4f..5d5c6d7 100644
--- a/Pipfile.lock
+++ b/Pipfile.lock
@@ -1,7 +1,7 @@
 {
     "_meta": {
         "hash": {
-            "sha256": "99a7866438caf331d7a71c217ae528ee63dca44541edef81efe180dbef28acc3"
+            "sha256": "119959021872ee07af13ffcd6190f06f366833af53825a10fcbe23801b00c3a2"
         },
         "pipfile-spec": 6,
         "requires": {
@@ -117,6 +117,12 @@
             ],
             "version": "==2.2.2"
         },
+        "csscompressor": {
+            "hashes": [
+                "sha256:afa22badbcf3120a4f392e4d22f9fff485c044a1feda4a950ecc5eba9dd31a05"
+            ],
+            "version": "==0.9.5"
+        },
         "docutils": {
             "hashes": [
                 "sha256:02aec4bd92ab067f6ff27a38a38a41173bf01bed8f89157768c1573f53e474a6",
@@ -139,6 +145,12 @@
             ],
             "version": "==1.9"
         },
+        "htmlmin": {
+            "hashes": [
+                "sha256:50c1ef4630374a5d723900096a961cff426dff46b48f34d194a81bbe14eca178"
+            ],
+            "version": "==0.1.12"
+        },
         "idna": {
             "hashes": [
                 "sha256:2c6a5de3089009e3da7c5dde64a141dbc8551d5b7f6cf4ed7c2568d0cc520a8f",
@@ -174,6 +186,13 @@
             "index": "pypi",
             "version": "==3.7.1"
         },
+        "pelican-minification": {
+            "hashes": [
+                "sha256:8c3b1c312171ef86164a0f12d86301d0816a73c090cff7fb3d863481da813228"
+            ],
+            "index": "pypi",
+            "version": "==0.1.1"
+        },
         "pyasn1": {
             "hashes": [
                 "sha256:0d7f6e959fe53f3960a23d73f35e1fce61348b30915b6664309ca756de7c1f89",
diff --git a/publishconf.py b/publishconf.py
index 79f771e..934fbed 100644
--- a/publishconf.py
+++ b/publishconf.py
@@ -12,3 +12,4 @@ from pelicanconf import *
 
 SITEURL = 'https://www.shore.co.il/blog'
 RELATIVE_URLS = False
+PLUGINS = ('minification',)
-- 
GitLab