diff --git a/pyproject.toml b/pyproject.toml index 27917aebf..07ce21d43 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -65,6 +65,24 @@ combine_as_imports = true sections = ["FUTURE", "STDLIB", "THIRDPARTY", "DJANGO", "FIRSTPARTY", "LOCALFOLDER"] known_django = ["django"] +[tool.djlint] +blank_line_after_tag = "load" +custom_blocks = "render" +format_css = true +format_js = true +ignore = "H006,H019,H021,H023" +indent = 2 +max_attribute_length = 100 +max_line_length = 200 + +[tool.djlint.css] +indent_size = 2 + +[tool.djlint.js] +indent_size = 2 +templating = "django" + + [tool.coverage.run] source = ["ureport"] diff --git a/templates/404.html b/templates/404.html index 632a60384..2e0a3f14f 100644 --- a/templates/404.html +++ b/templates/404.html @@ -1,31 +1,35 @@ - + +
+ + +