wagtail / 2 / contributing / html_guidelines.html

HTML coding guidelines

We use Django templates to author HTML.

Linting HTML

We use jinjalint to lint templates. If you have installed Wagtail’s testing dependencies (pip install -e .[testing]), you can check your code by running make lint.

Principles

© 2014-present Torchbox Ltd and individual contributors.
All rights are reserved.
Licensed under the BSD License.
https://docs.wagtail.org/en/v2.16.3/contributing/html_guidelines.html