aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/templates
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2022-01-30 13:04:58 +0100
committerGravatar Leon Sandøy <[email protected]>2022-01-30 13:04:58 +0100
commit2cbaeb129b793fa3dc162258dd4e60781e35d5f1 (patch)
treeee38ba94221c08d1d33f03b948f1fbdf0838341b /pydis_site/templates
parentEnsure "Other" is always the bottom topic. (diff)
Show a duck pond when no filters match.
Diffstat (limited to 'pydis_site/templates')
-rw-r--r--pydis_site/templates/resources/resources.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/pydis_site/templates/resources/resources.html b/pydis_site/templates/resources/resources.html
index 4dd07270..53feb255 100644
--- a/pydis_site/templates/resources/resources.html
+++ b/pydis_site/templates/resources/resources.html
@@ -124,7 +124,11 @@
<div class="column is-two-thirds">
{# Message to display when there are no hits #}
- <h2 class="title is-3 has-text-centered pt-0 pb-6 no-resources-found">No matching resources found!</h2>
+ <div class="no-resources-found">
+ <h2 class="title is-3 has-text-centered pt-0 pb-6 no-resources-found">No matching resources found!</h2>
+ <img src="{% static "images/resources/duck_pond_404.png" %}" width="650px">
+ </div>
+
{# Resource cards #}
<div class="content is-flex is-justify-content-center">