Skip to content

Commit

Permalink
Align search result header level
Browse files Browse the repository at this point in the history
Ensure that the page has an h1.
  • Loading branch information
toothstone authored Dec 1, 2023
1 parent 43e4cdd commit 1fc2b11
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ckan/templates/snippets/search_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,13 @@
{% endblock %}

{% block search_title %}
<h1>
{% if not error %}
<h1>{% snippet 'snippets/search_result_text.html', query=query, count=count, type=type %}</h1>
{% snippet 'snippets/search_result_text.html', query=query, count=count, type=type %}
{% else %}
<h2>Error</h2>
Error
{% endif %}
</h1>
{% endblock %}

{% block search_facets %}
Expand Down

0 comments on commit 1fc2b11

Please sign in to comment.