From 73eb8c6b58d61fdea8dcfb7747daa4902a42838a Mon Sep 17 00:00:00 2001 From: czaks Date: Sun, 4 May 2014 01:20:12 +0200 Subject: quick & dirty youtube thumbnails in catalog support --- templates/themes/catalog/catalog.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'templates/themes/catalog/catalog.html') diff --git a/templates/themes/catalog/catalog.html b/templates/themes/catalog/catalog.html index 3bfd3e23..c69eb7f7 100644 --- a/templates/themes/catalog/catalog.html +++ b/templates/themes/catalog/catalog.html @@ -20,12 +20,16 @@ {% for post in recent_posts %}
+ {% if post.youtube %} + + {% elseif post.file %} - + {% endif %} {% trans %}1 reply{% plural post.reply_count %}{{ count }} replies{% endtrans %}
{{ post.body }}
+
{% endfor %} -- cgit v1.3