1
Fork 0

Fix minifier

This commit is contained in:
Jake Howard 2016-09-09 15:08:30 +01:00
parent 101f665ef3
commit f2391911bf
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 5 additions and 6 deletions

View file

@ -13,8 +13,3 @@ pelican_plugins:
- screenfetch - screenfetch
sitemap_format: xml sitemap_format: xml
minify_config:
- remove_comments: true
- remove_optional_attribute_quotes: false
- reduce_boolean_attributes: true

View file

@ -71,7 +71,11 @@ SITEMAP = {
"format": settings.sitemap_format "format": settings.sitemap_format
} }
CATEGORY_PAGE_PATH = "theme/templates/categories" 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 # Setup markdown extensions
from fontawesome_markdown import FontAwesomeExtension from fontawesome_markdown import FontAwesomeExtension