From e3bedf76d47ecac53f1b13ba50f74a0f6b0c817d Mon Sep 17 00:00:00 2001 From: Dan Bader Date: Mon, 16 Jul 2018 13:51:10 -0700 Subject: [PATCH] Fix 404 canonical --- docs/_templates/layout.html | 2 ++ 1 file changed, 2 insertions(+) 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 %}