Skip to content
This repository has been archived by the owner on Mar 27, 2019. It is now read-only.

Tenzer/beetle-htmlmin

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

Beetle-Htmlmin

Minifies the HTML files in the Beetle output directory using the htmlmin library.

When beetle_htmlmin has been added to the list of plugins in your Beetle config.yaml file, you can run beetle htmlmin to minify the HTML files in the output directory. It can also be done at the same time as the rendering of the site by running it as beetle render htmlmin.

You can specify arguments to htmlmin inside your config.yaml file by using the args object like this:

plugins:
  - name: beetle_htmlmin
    args:
      remove_empty_space: True
      remove_comments: True
      remove_optional_attribute_quotes: False

A complete list of possible arguments and their default values can be found in the htmlmin documentation.

About

HTML minifier for the static site generator, Beetle

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages