From 1fc2b1137f807c7229e961328c0511f4e43a87ae Mon Sep 17 00:00:00 2001 From: toothstone Date: Fri, 1 Dec 2023 10:12:04 +0100 Subject: [PATCH] Align search result header level Ensure that the page has an h1. --- ckan/templates/snippets/search_form.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ckan/templates/snippets/search_form.html b/ckan/templates/snippets/search_form.html index 9d755c21a98..b77f2b990f2 100644 --- a/ckan/templates/snippets/search_form.html +++ b/ckan/templates/snippets/search_form.html @@ -46,11 +46,13 @@ {% endblock %} {% block search_title %} +

{% if not error %} -

{% snippet 'snippets/search_result_text.html', query=query, count=count, type=type %}

+ {% snippet 'snippets/search_result_text.html', query=query, count=count, type=type %} {% else %} -

Error

+ Error {% endif %} + {% endblock %} {% block search_facets %}