Fix minifier
This commit is contained in:
parent
101f665ef3
commit
f2391911bf
2 changed files with 5 additions and 6 deletions
|
@ -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
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Reference in a new issue