add in_stream Entry property,
[django-migdal.git] / migdal / templates / migdal / entry / publications / entry_begin.html
1 {% load i18n %}
2 {% load thumbnail %}
3
4 {% if detail %}
5     <h1>{{ object.title }}</h1>
6 {% else %}
7     <h2><a href="{{ object.get_absolute_url }}">{{ object.title }}</a></h2>
8 {% endif %}
9
10
11 {% if object.image %}
12     <img class="entry-picture" src="{% thumbnail object.image "250x300" as thumb %}
13                     {{ thumb.url }}
14                 {% empty %}
15                     {{ object.image.url }}
16                 {% endthumbnail %}" />
17 {% endif %}
18 <div class="lead">
19 {{ object.lead }}
20 </div>