htmlmin binding for pyramid
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
debian
pyramid_htmlmin
.gitignore
CHANGES.rst
LICENSE
MANIFEST.in
README.rst
setup.py

README.rst

pyramid-htmlmin

Binding of the htmlmin library for Pyramid.

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