From 2a2af8ddee3faf64e628218fccc997aab8927d8b Mon Sep 17 00:00:00 2001 From: Brendan Early Date: May 22 2021 00:56:37 +0000 Subject: fail gracefully if no spellcheck is found --- diff --git a/templates/search-results.html.j2 b/templates/search-results.html.j2 index 068595f..fc146e0 100644 --- a/templates/search-results.html.j2 +++ b/templates/search-results.html.j2 @@ -47,7 +47,7 @@ - {% if results.spellcheck.collations[1] %} + {% if results['spellcheck'] and results.spellcheck.collations[1] %}

Did you mean