https://github.com/gandi/pyramid_htmlmin
htmlmin binding for pyramid
https://github.com/gandi/pyramid_htmlmin
Last synced: 10 months ago
JSON representation
htmlmin binding for pyramid
- Host: GitHub
- URL: https://github.com/gandi/pyramid_htmlmin
- Owner: Gandi
- License: gpl-2.0
- Created: 2014-10-09T16:02:55.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-07-19T12:16:45.000Z (almost 9 years ago)
- Last Synced: 2025-04-12T03:14:43.538Z (about 1 year ago)
- Language: Python
- Size: 16.6 KB
- Stars: 4
- Watchers: 28
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
- License: LICENSE
Awesome Lists containing this project
README
pyramid-htmlmin
===============
Binding of the htmlmin_ library for Pyramid.
.. _htmlmin: https://pypi.python.org/pypi/htmlmin/
Usage::
pyramid.includes =
pyramid_htmlmin
# uncomment lines to override default settings.
# Send gzipped minifed code when possible (defaults to True)
# pyramid_htmlmin.gzip_if_accepted = True
# the settings here are default value of htmlmin.minify methods,
# provided by htmlmin version 0.1.5
# htmlmin.remove_comments = False
# htmlmin.remove_empty_space = False
# htmlmin.remove_all_empty_space = False
# htmlmin.reduce_empty_attributes = True
# htmlmin.reduce_boolean_attributes = False
# htmlmin.remove_optional_attribute_quotes = True
# htmlmin.keep_pre = False