| 1 |
{% extends "!search.html" %} |
| 2 |
{% block body %} |
| 3 |
<h1 id="search-documentation">Search</h1> |
| 4 |
<p> |
| 5 |
Enter your search words into the box below and click |
| 6 |
<strong>search</strong>. Note that the search function automatically |
| 7 |
searches for <em>all</em> of the words. Pages containing some but not all |
| 8 |
of them won't appear in the result list. |
| 9 |
</p> |
| 10 |
<form action="" method="get"> |
| 11 |
<input type="text" name="q" value="" /> |
| 12 |
<input type="submit" value="search" /> |
| 13 |
</form> |
| 14 |
{% if search_performed %} |
| 15 |
<h2>Search Results</h2> |
| 16 |
{% if not search_results %} |
| 17 |
<p>Your search did not match any results.</p> |
| 18 |
{% endif %} |
| 19 |
{% endif %} |
| 20 |
<div id="search-results"> |
| 21 |
{% if search_results %} |
| 22 |
<ul> |
| 23 |
{% for href, caption, context in search_results %} |
| 24 |
<li><a href="{{ pathto(item.href) }}">{{ caption }}</a> |
| 25 |
<div class="context">{{ context|e }}</div> |
| 26 |
</li> |
| 27 |
{% endfor %} |
| 28 |
</ul> |
| 29 |
{% endif %} |
| 30 |
</div> |
| 31 |
{% endblock %} |