aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/templates/wiki/search.html
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2019-04-20 14:32:53 +0100
committerGravatar Gareth Coles <[email protected]>2019-04-20 14:32:53 +0100
commitbbeb451ac6750c526166db12080b1b6bc040c860 (patch)
treec74468da0b3059045e1e294bf17b062943b79079 /pydis_site/templates/wiki/search.html
parentUpdate 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.html5
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">