Merge pull request #95 from jedie/bugfix_images

Bugfix: Images should be visible on "latest entries"...
This commit is contained in:
Iacopo Spalletti 2015-02-22 23:16:13 +01:00
commit 4e606335c4

View file

@ -2,7 +2,7 @@
<div class="plugin plugin-blog">
<div class="blog-latest-entries">
{% for post in posts_list %}
{% include "djangocms_blog/includes/blog_item.html" with post=post TRUNCWORDS_COUNT=TRUNCWORDS_COUNT %}
{% include "djangocms_blog/includes/blog_item.html" with post=post image="true" TRUNCWORDS_COUNT=TRUNCWORDS_COUNT %}
{% empty %}
<p class="blog-empty">{% trans "No article found." %}</p>
{% endfor %}