making up my mind
This commit is contained in:
parent
d61e11ddbc
commit
770035827a
4 changed files with 16 additions and 19 deletions
|
|
@ -3,20 +3,15 @@
|
|||
{% capture now -%}{{ site.time | date: '%s' }}{%- endcapture %}
|
||||
{% for event in site.events %}
|
||||
|
||||
|
||||
{% capture endtime -%}
|
||||
{{ event.event_data.end_datetime | date: '%s' }}
|
||||
{%- endcapture %}
|
||||
|
||||
|
||||
{% if now >= endtime %}
|
||||
<br />
|
||||
|
||||
<a href="{{ event.url }}"><img src="{{ event.image }}" width="100%"/></a>
|
||||
<h4>{{ event.title }}</h4>
|
||||
<h4>
|
||||
<a href="{{ event.url }}" class="cta">{{ event.event_data.start_datetime | date: '%Y-%m-%d' }}</a>
|
||||
</h4>
|
||||
<a href="{{ event.url }}"><img src="{{ event.image }}" width="30%"/></a>
|
||||
<h4>{{ event.event_data.start_datetime | date: '%Y-%m-%d' }}<br />
|
||||
<a href="{{ event.url }}">{{ event.title }}</a>
|
||||
</h4>
|
||||
|
||||
<br />
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue