Skip to content
Snippets Groups Projects
Commit eaedbe84 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-4184: updating timeline to use granular year-month-day

parent 14cf3057
No related branches found
No related tags found
1 merge request!47ISTWCMS-4184 m26lebla theme timeline
......@@ -9,7 +9,7 @@
<span class="timeline-year">{{ year }}</span>
<ol>
{% for month, entries in timeline_item %}
{% for month, days in timeline_item %}
{% if style == 'month' %}
<li>
......@@ -19,15 +19,19 @@
<ol>
{% endif %}
{% for entry in entries %}
{% for day in days %}
<li class="timeline-info">
{% if entry.image %}
<img src="{{ entry.image }}" alt="" class="timeline-photo"/>
{% endif %}
<div class="timeline-headline"><strong>{{ entry.headline }}</strong></div>
<p>{{ entry.content }}</p>
</li>
{% for entry in day %}
<li class="timeline-info">
{% if entry.image %}
<img src="{{ entry.image }}" alt="" class="timeline-photo"/>
{% endif %}
<div class="timeline-headline"><strong>{{ entry.headline }}</strong></div>
<p>{{ entry.content }}</p>
</li>
{% endfor %}
{% endfor %}
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment