lektor-htmlmin
HTML minifier for Lektor that automatically minifies generated .html files.
Uses htmlmin and looks for .html files, minifying them as part of the build process.
Installing
You can install the plugin with Lektor’s installer:
lektor plugins add lektor-htmlmin
Or by hand, adding the plugin to the packages section in your lektorproject file:
[packages] lektor-htmlmin = 1.0
Usage
To enable minification, pass the htmlmin flag when starting the development server or when running a build:
lektor build -O my_build_folder -f htmlmin
When the flag is present, htmlmin will overwrite all HTML files in the output directory with their minified counterparts.
Note: The htmlmin plugin currently minifies every file in the project after a build. Not just files that have been changed. This should have no ill effects, but might increase build times if there are many files to minify.
Metadata
Release files for lektor-htmlmin 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lektor-htmlmin-1.0.3.tar.gz | 2.5 kB | Without provenance | Details for lektor-htmlmin-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lektor_htmlmin-1.0.3-py3.7.egg | Legacy Egg format | - | - | Details for lektor_htmlmin-1.0.3-py3.7.egg |
Total release size: 6.8 kB
Release files / lektor-htmlmin-1.0.3.tar.gz
| Download URL | lektor-htmlmin-1.0.3.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3771b6ffcfaf833ff6ea639dcd7b278c0a658bb5057be8fad6a595b50368c950
|
|
BLAKE2b-256 checksum How to use checksums |
0e8eaf060870c2b4078b59cb6aeb2e4ff2c965d8f2ede4d177a86b83ee3f6080
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.1.0 requests-toolbelt/0.8.0 tqdm/4.41.1 CPython/3.7.5
|
Release files / lektor_htmlmin-1.0.3-py3.7.egg
| Download URL | lektor_htmlmin-1.0.3-py3.7.egg |
|---|---|
| Size | 4.3 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
9f2eed62aa2a9d40ce67c31f6664bd764aeff7da4bad751987ae76c94cc81469
|
|
BLAKE2b-256 checksum How to use checksums |
1a497e2ee926e747bd126d8ef3ccb739186755f1ce000c4beb99507aac9e421f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.1.0 requests-toolbelt/0.8.0 tqdm/4.41.1 CPython/3.7.5
|
Security for lektor-htmlmin 1.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.