Show longer dates for non-fuzzy dates

This commit is contained in:
Oliver Davies 2015-08-10 16:08:55 +01:00
parent 19c6343cbd
commit b83262aa0b

View file

@ -1,5 +1,11 @@
<li>{% spaceless %}
<strong>{{ talk.date|date('F') }}</strong> - {{ talk.location }} -
<strong>
{% if not talk.fuzzy_date %}
{{ talk.date|date('jS F') }}
{% else %}
{{ talk.date|date('F') }}
{% endif %}
</strong> - {{ talk.location }} -
{% if talk.title_link -%}<a href="{{ talk.title_link }}" title="{{ talk.title }}">{%- endif -%}
{{ talk.title }}
{%- if talk.title_link -%}</a>{%- endif -%}