diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index e09e893e5..8c0b62e0a 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -71,6 +71,13 @@ repos:
images/minesweeper/requirements.txt|
images/federation-redirect/requirements.txt
+ # Autoformat jinja2 templates
+ - repo: https://github.com/Riverside-Healthcare/djLint
+ rev: v1.36.4
+ hooks:
+ - id: djlint-reformat-jinja
+ - id: djlint-jinja
+
# Lint: Python code
- repo: https://github.com/PyCQA/flake8
rev: "7.1.1"
diff --git a/docs/source/_templates/navigation.html b/docs/source/_templates/navigation.html
index 9fa52ff25..ee5addab5 100644
--- a/docs/source/_templates/navigation.html
+++ b/docs/source/_templates/navigation.html
@@ -4,13 +4,15 @@
be overridden so this custom theme handles title and
toctree for sidebar
#}
-
-
-
-
- Date |
- Filename |
- Number of Events |
-
- {% for archive in archives %}
-
- {{ archive.date }} |
- {{ archive.name }} |
- {{ archive.count }} |
-
- {% endfor %}
-
-
-
-