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