diff options
author | 2019-04-20 14:32:53 +0100 | |
---|---|---|
committer | 2019-04-20 14:32:53 +0100 | |
commit | bbeb451ac6750c526166db12080b1b6bc040c860 (patch) | |
tree | c74468da0b3059045e1e294bf17b062943b79079 /pydis_site/templates/wiki/search.html | |
parent | Update Pipfile.lock and move home app tests (diff) |
Address reviews
Diffstat (limited to 'pydis_site/templates/wiki/search.html')
-rw-r--r-- | pydis_site/templates/wiki/search.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pydis_site/templates/wiki/search.html b/pydis_site/templates/wiki/search.html index 296b21b3..154b6934 100644 --- a/pydis_site/templates/wiki/search.html +++ b/pydis_site/templates/wiki/search.html @@ -1,5 +1,6 @@ {% extends "wiki/base.html" %} -{% load wiki_tags i18n humanize %} +{% load i18n %} +{% load wiki_tags %} {% block wiki_pagetitle %}Search results for: "{{ search_query }}"{% endblock %} @@ -44,10 +45,12 @@ <th>Title</th> <th class="has-text-right">Last modified</th> </tr> + {% for article in articles %} {% block wiki_search_loop %} {% include "wiki/includes/searchresult.html" %} {% endblock %} + {% empty %} <tr> <td colspan="2"> |