Skip to content

acemir/oc-htmlminify-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTML minify plugin for October CMS


Plugin based on https://github.com/nochso/html-compress-twig


Currently supported Twig features are:

Tag {% htmlcompress %} ... {% endhtmlcompress %}

Function {{ htmlcompress('some html') }}

Filter {{ content|markdown|htmlcompress }}


Install plugin and then use it in your templates:

{% htmlcompress %}{% endhtmlcompress %}

{{ htmlcompress('<ul> <li>') }}

{{ '<ul> <li>'|htmlcompress }}

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%