removed thumbnail being necessary

This commit is contained in:
Karen 2012-10-02 18:36:13 +05:30
parent 9b1cf4b16c
commit 05f473cae1

View File

@ -34,9 +34,12 @@ width:200px;
{% for n in noteworthy %} {% for n in noteworthy %}
<div class="noteworthy"> <div class="noteworthy">
{% thumbnail n.image "200" as im %} {% if n.image %}
{% thumbnail n.image "200" as im %}
<img src="{{ im.url }}" width="200" alt="" class="imgLinks"> <img src="{{ im.url }}" width="200" alt="" class="imgLinks">
{% endthumbnail %} {% endthumbnail %}
{% endif %}
<p class="orange"><strong>{% if n.url %} <a href="{{ n.url }}" target="_blank"> {% endif %}{{ n.title }} {% if n.url %}</a> {% endif %}</strong></p> <p class="orange"><strong>{% if n.url %} <a href="{{ n.url }}" target="_blank"> {% endif %}{{ n.title }} {% if n.url %}</a> {% endif %}</strong></p>
<br> <br>