From f2391911bfd787335992922f4b574c95b942a4b4 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 9 Sep 2016 15:08:30 +0100 Subject: [PATCH] Fix minifier --- config/config.yml | 5 ----- config/pelicanconf.py | 6 +++++- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/config/config.yml b/config/config.yml index 45185d2..54f1469 100644 --- a/config/config.yml +++ b/config/config.yml @@ -13,8 +13,3 @@ pelican_plugins: - screenfetch sitemap_format: xml - -minify_config: - - remove_comments: true - - remove_optional_attribute_quotes: false - - reduce_boolean_attributes: true diff --git a/config/pelicanconf.py b/config/pelicanconf.py index d44cb5d..320cc2b 100644 --- a/config/pelicanconf.py +++ b/config/pelicanconf.py @@ -71,7 +71,11 @@ SITEMAP = { "format": settings.sitemap_format } CATEGORY_PAGE_PATH = "theme/templates/categories" -MINIFY = settings.minify_config +MINIFY = { + 'remove_comments': True, + 'remove_optional_attribute_quotes': False, + 'reduce_boolean_attributes': True, +} # Setup markdown extensions from fontawesome_markdown import FontAwesomeExtension