Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 913 Bytes

options.md

File metadata and controls

34 lines (23 loc) · 913 Bytes

Options

c::set('plugin.html.minifier.active', true);
c::set('plugin.html.minifier.options',[]);
c::set('plugin.html.minifier.blacklist', []);

active

It's active by default but it's possible to turn it off. It's especially useful with multi environmental setup.

c::set('plugin.html.minifier.active', true);

options

If you are a hardcore user you can use the options of the Minify_HTML class.

c::set('plugin.html.minifier.options', []);

Read more about the options.

blacklist

You can disable pages from being minified by adding page id(s) as a string or an array. Every child to that page will be disabled as well.

Example

c::set('plugin.html.minifier.blacklist', ['about', 'projects']);