mcol.xyz
Pelican plugin to minify CSS assets using cssmin
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
mcol c9f3cae105 fix doc 1 year ago
.gitignore Replaced hg machinery with git. 10 years ago
LICENSE Initial import. 10 years ago
README.md fix doc 1 year ago
__init__.py wrap cssmin to function as pelican plugin 1 year ago
cssmin.py wrap cssmin to function as pelican plugin 1 year ago

README.md

cssmin - Pelican plugin

This is a fork of zacharyvoase/cssmin wrapped into a plugin for Pelican static site generator.

It will compress all .css files in the output folder at the end of site generation.

To wrap css lines at a specific length, add this variable to pelicanconf.py:

CSSMIN_WRAP = 80

This based on a Python port of the YUI CSS Compressor.