diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html
index 366dbf3..9660c14 100644
--- a/docs/_templates/layout.html
+++ b/docs/_templates/layout.html
@@ -7,6 +7,8 @@
{% if pagename == 'index' %}
+ {% elif pagename == '404' %}
+ {# No canonical on our 404 template. #}
{% else %}
{% endif %}