Zinnia-theme-html5 is a python package providing HTML5 templates for django-blog-zinnia.
Installation
First of all you need to install and configure django-app-namespace-template-loader into your project.
Then once Zinnia is installed on your Django project and this package installed on your PYTHON_PATH, simply register the zinnia_html5 application in the INSTALLED_APP section of your project’s settings.
Now Zinnia is HTML5 ready.
HTML5 Validation
If you want to have strict HTML5 documents and pass the validation tests you must register the DraftHTML5ValidatorCleaner middleware to clean the templates of the not already supported attributes or relationships.
MIDDLEWARE_CLASSES = (
... # Your middlewares
'zinnia_html5.middleware.DraftHTML5ValidatorCleaner',
)
The problem is that HTML5 is still in draft, and some microformats are not already allowed by the on-line validators.
Instead of rewriting all the Zinnia’s templates it’s easier to add this middleware and disable it when the HTML5 specifications will be completed and the on-line HTML5 validators up-to-date.
Metadata
Release files for zinnia-theme-html5 0.4
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 |
|---|---|---|---|---|
| zinnia-theme-html5-0.4.tar.gz | 11.1 kB | Without provenance | Details for zinnia-theme-html5-0.4.tar.gz |
Release files / zinnia-theme-html5-0.4.tar.gz
| Download URL | zinnia-theme-html5-0.4.tar.gz |
|---|---|
| Size | 11.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7dfc9a077a913c8a639cf879358d6101609dd1d6eec5a88d2f66f659f70858a3
|
|
BLAKE2b-256 checksum How to use checksums |
8d2a9b99116b8c2ed19fde6ded5871e4c50c2fbe9593d75f868243b9062d7693
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for zinnia-theme-html5 0.4
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.