|
@ -30,10 +30,11 @@ |
|
|
|
|
|
|
|
|
{% if article.event_start %} |
|
|
{% if article.event_start %} |
|
|
{% set event_status = '' %} |
|
|
{% set event_status = '' %} |
|
|
{% if article.event_start < article.date.now() %} |
|
|
{% set now = article.date.now() | string %} |
|
|
|
|
|
{% if article.event_start < now %} |
|
|
{% set event_status = ' past' %} |
|
|
{% set event_status = ' past' %} |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
{% if article.event_start >= article.date.now() %} |
|
|
{% if article.event_start >= now %} |
|
|
{% set event_status = ' current' %} |
|
|
{% set event_status = ' current' %} |
|
|
{% set thumb_size = '/thumb2x' %} |
|
|
{% set thumb_size = '/thumb2x' %} |
|
|
{% endif %} |
|
|
{% endif %} |
|
@ -51,7 +52,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> |
|
|
<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 %} |
|
|
{% if article.event_start %} |
|
|
<div class="event-details"> |
|
|
<div class="event-details"> |
|
|
{{ article.event_start | strftime('%d %B %Y') }} |
|
|
<!-- article.event_start | strftime('%d %B %Y') --> |
|
|
</div> |
|
|
</div> |
|
|
{% else %} |
|
|
{% else %} |
|
|
<div class="event-details"></div> |
|
|
<div class="event-details"></div> |
|
|