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.

Source Distribution

pelican-minification-0.1.0.tar.gz (2.6 kB view details)

Uploaded Source

File details

Details for the file pelican-minification-0.1.0.tar.gz.

File metadata

File hashes

Hashes for pelican-minification-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c393ff8504d86f101fe91a66e2ea828c4d7be9fc3858bd66ea116a9368cd2ef3
MD5 7794ce1b17aa154f3a082424a48a1282
BLAKE2b-256 92428f06abbb5a02a28b1a08c9c2d769d77c9c1049afd7e1022a3997758e0f7e

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page