strip jinja empty lines: forgotten search page

This commit is contained in:
Victor Feyens 2021-04-28 17:37:07 +02:00
parent 194c7470f8
commit e0ebbec923

View File

@ -1,14 +1,14 @@
{% extends "basic/search.html" %} {%- extends "basic/search.html" %}
<!-- This is an override of the search page of the basic theme. <!-- This is an override of the search page of the basic theme.
The original page included a static "Search Result" section that would always be replaced by The original page included a static "Search Result" section that would always be replaced by
the JS, so it's not reproduced here. --> the JS, so it's not reproduced here. -->
{% block body %} {%- block body %}
<div id="fallback" class="alert alert-warning"> <div id="fallback" class="alert alert-warning">
<script>$('#fallback').hide();</script> <script>$('#fallback').hide();</script>
<p> <p>
{% trans %}Please activate JavaScript to enable the search functionality.{% endtrans %} {%- trans %}Please activate JavaScript to enable the search functionality.{%- endtrans %}
</p> </p>
</div> </div>
<div id="search-results"></div> <div id="search-results"></div>
{% endblock %} {%- endblock %}