Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

An HTML minification plugin for Pelican, the static site generator.

Project description

# pelican-minify

[![Build Status](](

An HTML minification plugin for
[Pelican](, the static site generator.

![Pelican Logo](

## Install

To install the library, you can use

$ pip install pelican-minify

## Usage

To use `pelican-minify`, you need to make only a single change to your
`` file (the configuration file that Pelican uses to generate
your static site.

Update your `PLUGINS` global, and append `minify` to the list, eg:

``` python

# ...

# ...
# ...

# ...

The next time you build your Pelican site, `pelican-minify` will automatically
minify your Pelican pages after they've been generated.

This reduces file size and obscures the public source code, but keep in
mind--minifying your static site will increase your Pelican build times, as it
adds extra file processing for each page generated.

## Changelog

v0.1: 12-4-2012

- First release!

v0.2: 2-12-2013

- Fixing issue with unicode characters.
- Upgrading django-htmlmin dependency.

v0.3: 2-12-2013

- Fixing tests.

v0.4: 2-15-2013

- Upgrading django-htmlmin.

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-minify, version 0.4
Filename, size File type Python version Upload date Hashes
Filename, size pelican-minify-0.4.tar.gz (222.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page