diff --git a/.editorconfig b/.editorconfig
index 868780279edf61ced2d42f13e8762ae811d6a17e..5858e0cd1532cf6a6c381e23db6d4a085176ea1e 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -11,6 +11,6 @@ indent_style = space
 indent_size = 4
 
 [*.html]
-file_type_emacs = jinja2
+file_type_emacs = web
 indent_style = space
 indent_size = 2
diff --git a/biscuit/core/templates/bootstrap4-navbar-submenu.html b/biscuit/core/templates/bootstrap4-navbar-submenu.html
index dace83349da2a4887377e6a5418b6be092dad83a..417a45e824ce2be22532b72e089680dde6ae4aa3 100644
--- a/biscuit/core/templates/bootstrap4-navbar-submenu.html
+++ b/biscuit/core/templates/bootstrap4-navbar-submenu.html
@@ -1,3 +1,4 @@
+{# -*- engine:django -*- #}
 <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown">
     {% for item in items %}
         {% if item.visible %}
diff --git a/biscuit/core/templates/bootstrap4-navbar.html b/biscuit/core/templates/bootstrap4-navbar.html
index a6cb7136f89201b8b4e09fc6a855b1c83c384034..9d0b18ea6956f36566eeb9fc06f14630f62b1cdd 100644
--- a/biscuit/core/templates/bootstrap4-navbar.html
+++ b/biscuit/core/templates/bootstrap4-navbar.html
@@ -1,3 +1,4 @@
+{# -*- engine:django -*- #}
 {% for item in menu %}
     {% if item.visible %}
         {% if item.separator %}
diff --git a/biscuit/core/templates/core/base.html b/biscuit/core/templates/core/base.html
index 46bb887c9068b7cb4e75031322f7193c8346b5a2..a9ff36c43155bdc8c4f50abb577b4d744d3a37d6 100644
--- a/biscuit/core/templates/core/base.html
+++ b/biscuit/core/templates/core/base.html
@@ -1,3 +1,4 @@
+{# -*- engine:django -*- #}
 {% extends "bootstrap4/bootstrap4.html" %}
 {% load bootstrap4 menu staticfiles font_awesome any_js %}
 
diff --git a/biscuit/core/templates/core/index.html b/biscuit/core/templates/core/index.html
index 71946560db7016c8774646bcde84f8861c1d8706..fa1ec8ec64c9c22b9fcf328f516489f928077f4b 100644
--- a/biscuit/core/templates/core/index.html
+++ b/biscuit/core/templates/core/index.html
@@ -1,3 +1,4 @@
+{# -*- engine:django -*- #}
 {% extends "core/base.html" %}
 {% load bootstrap4 %}
 
diff --git a/biscuit/core/templates/registration/login.html b/biscuit/core/templates/registration/login.html
index 42d7edb16c766a9756f4839a02d773548d91e987..fb5607531f3c6b7fea579e37b042e4f184967baa 100644
--- a/biscuit/core/templates/registration/login.html
+++ b/biscuit/core/templates/registration/login.html
@@ -1,3 +1,4 @@
+{# -*- engine:django -*- #}
 {% extends "core/base.html" %}
 {% load bootstrap4 %}