summaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2016-06-10 19:08:49 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2016-06-10 19:08:49 +0200
commit15ba20bc0eb18cb2f6098347ddf0a624054a8350 (patch)
treeb71f51b614740d5fd074a5886aee3138e4f9029d /templates/index.html
parent052e4966c77ff4a47a99296ca1bbb39a8b11e8e9 (diff)
downloadjokevote-15ba20bc0eb18cb2f6098347ddf0a624054a8350.tar.gz
jokevote-15ba20bc0eb18cb2f6098347ddf0a624054a8350.zip
implement simple filtering
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html
index 6957d21..f3a268a 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -49,6 +49,12 @@
</div>
{% endif %}
{% endwith %}
+ {% if tag %}
+ <div class="chip">
+ {{ tag }}
+ <a href="/"><i class="material-icons">close</i></a>
+ </div>
+ {% endif %}
<ul class="collection">
{% for joke in jokes[currentpage*perpage:(currentpage+1)*perpage] %}
<li class="collection-item row valign-wrapper">