Skip to content

ysard/pelican-minification

 
 

Repository files navigation

pelican-minification

Content minification for the Pelican site generator. This plugin can compress HTML & CSS files as well as inline CSS and JavaScript in HTML files.

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 = [
    ...
    'pelican.plugins.minification',
]

Upon calling the pelican command now, all HTML and CSS files are compressed automatically; including inline JavaScript and CSS rules in <script> and <style> tags.

About

Minification for Pelican pages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.0%
  • Makefile 3.0%