Always show text, make text extract size configurable.
[phinde.git] / data / templates / search / list.htm
1 {% if hitcount == 0 %}
2  <div style="text-align: center; margin-top: 5ex; margin-bottom: 5ex">
3   No results
4   for "<strong><tt>{{cleanQuery}}</tt></strong>"
5   {% if site %}
6   on <strong><tt>{{site}}</tt></strong>
7   &#160;&#160;&#160;|&#160;&#160;&#160;
8   <a href="{{urlNoSite}}">Show all results</a>
9   {% endif %}
10  </div>
11 {% else %}
12 <p class="resultinfo">
13   {{hitcount}}
14   {% if hitcount == 1 %}result{% else %}results{%endif%}
15   for "<strong><tt>{{cleanQuery}}</tt></strong>"
16   {% if site %}
17   on <strong><tt>{{site}}</tt></strong>
18   &#160;&#160;&#160;|&#160;&#160;&#160;
19   <a href="{{urlNoSite}}">Show all results</a>
20   {% endif %}
21  </p>
22  <ul class="hits">
23  {% for hit in hits %}
24    {% include 'search/hit.htm' %}
25  {% endfor %}
26  </ul>
27  {% include 'pager.htm' %}
28 {% endif %}