Improve status codes and support HTML match responses
Change-Id: Ie11b68eb0836bb537a2869b87e78f3a695203e11
diff --git a/templates/failure.html.ep b/templates/failure.html.ep
index 9155c31..e1f6fb3 100644
--- a/templates/failure.html.ep
+++ b/templates/failure.html.ep
@@ -1,4 +1,4 @@
-% layout 'main', title => loc('searchtitle', q => stash('q'), ql => stash('ql')), schematype => 'SearchResultsPage';
+% layout 'main', schematype => 'SearchResultsPage';
<div id="resultinfo"><p class="found"></p></div>
@@ -7,6 +7,7 @@
<div id="search"></div>
<p class="no-results"><%= loc('notIssued') %></p>
+
% if (stash('err_msg')) {
<p class="no-results"><%== loc(stash('err_msg'),stash('err_msg')) %></p>
% }