|
|
@ -30,11 +30,10 @@ |
|
|
|
|
|
|
|
{% if article.event_start %} |
|
|
|
{% set event_status = '' %} |
|
|
|
{% set now = article.date.now() | string %} |
|
|
|
{% if article.event_start < now %} |
|
|
|
{% if article.event_start < article.date.now() %} |
|
|
|
{% set event_status = ' past' %} |
|
|
|
{% endif %} |
|
|
|
{% if article.event_start >= now %} |
|
|
|
{% if article.event_start >= article.date.now() %} |
|
|
|
{% set event_status = ' current' %} |
|
|
|
{% set thumb_size = '/thumb2x' %} |
|
|
|
{% endif %} |
|
|
@ -52,7 +51,7 @@ |
|
|
|
<span class="entry-title"><a href="/{% if article.lang == 'en' %}en/{% endif %}{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></span> |
|
|
|
{% if article.event_start %} |
|
|
|
<div class="event-details"> |
|
|
|
<!-- article.event_start | strftime('%d %B %Y') --> |
|
|
|
{{ article.event_start | strftime('%d %B %Y') }} |
|
|
|
</div> |
|
|
|
{% else %} |
|
|
|
<div class="event-details"></div> |
|
|
|