Skip to main content

Minifies HTML, CSS and JS of generated Pelican content.

Project description

Content minification for the Pelican site generator.

Installation and Usage

pelican-minification depends on the following packages that will be installed automatically, see below:

Install pelican-minification into your Python interpreter using pip:

pip install pelican-minification

Then add the plugin to the PLUGINS setting within your pelicanconf.py:

PLUGINS = [
    ...
    'minification',
]

Upon calling the pelican command now, all HTML and CSS files are compressed automatically.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pelican-minification, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size pelican-minification-0.1.1.tar.gz (2.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page