Html compression as post processor
Project description
This module is a wrapper around Peter Bengtsson’s slimmer. It can be used to compress HTML, XHTML or CSS. It depends on the slimmer module from pypi.
Installation
pip install hyde-slimmer
Install Post Processor:
SITE_POST_PROCESSORS = { '/': { 'hyde_slimmer.site_post_processors.Compress' : { 'slimmer': { '*.html': 'html', #'*.html': 'xhtml', #'*.css': 'css', } }, } }
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hyde-slimmer-0.0.1.tar.gz
(1.8 kB
view details)
File details
Details for the file hyde-slimmer-0.0.1.tar.gz
.
File metadata
- Download URL: hyde-slimmer-0.0.1.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d71d63ee7f3cca131dda0a2b5c27a3d23ef3676d6e9090a348aa4430dd1ebad |
|
MD5 | 62c29cab6256c814058efb02d2628d2d |
|
BLAKE2b-256 | 5ea6f6ace07f36b7f0261cd5a642d81b828d059a02fe4e18c815767a054db336 |