Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions templates/search/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h3>Results</h3>
{% include result.include_template %}
</li>
{% empty %}
<p>No results found.</p>
<li>No results found.</li>
{% endfor %}
</ul>
{% if page.has_previous or page.has_next %}
Expand All @@ -27,8 +27,13 @@ <h3>Results</h3>
{% if page.has_next %}<a href="?q={{ query }}&amp;page={{ page.next_page_number }}">{% endif %}Next &raquo;{% if page.has_next %}</a>{% endif %}
</div>
{% endif %}

<h3>Python language documentation</h3>
<p>If you didn't find what you need, try your search in the
<a href="https://docs.python.org/3/search.html?q={{ request.GET.q | urlencode }}">Python language documentation</a>.
</p>
{% else %}
{# Show some example queries to run, maybe query syntax, something else? #}
{% endif %}
</form>
{% endblock %}
{% endblock %}