Skip to content

ionutiorgulescu/spress-html-beautifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Beautify HTML

Spress 2 ready

Beautify your Spress HTML output

Inspired by spress-html-compress

How do I install it?

Go to your Spress site and add the following to your composer.json and run composer update:

"require": {
    "ionutiorgulescu/spress-html-beautifier": "1.0.*"
}

How do I use it?

Add the following to your config.yml to exclude some files from minify/compress process:

html_beautifier_excluded: ['.htaccess', 'CNAME', 'robots.txt', 'crossdomain.xml', 'sitemap.xml', 'rss.xml']

And run the build command:

spress site:build

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages