Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (29 sloc) 1.5 KB
title layout permalink nav_id nav_weight nav_nesting nav_parent
IMS special events
static_page_no_right_menu
/ims/special-events/
IMS special events
5
true
IMS

Upcoming and past IMS special events


{% for post in site.posts %} {% if post.categories contains "ims-special" %}

{{ post.title }}

    {% if post.event-date != null and post.multi-day-event %}
    <h6>Event start date: {{ post.event-date |  date: "%A, %B %-d, %Y" }}</h6>{% endif %}
    {% if post.event-date != null and post.multi-day-event != true %}
    <h6>Event date: {{ post.event-date |  date: "%A, %B %-d, %Y" }}</h6>{% endif %}

    {% if post.image != null %} {% if post.image-address != null %}<a href="{{ post.image-address | replace: '__SITE_URL__', site.url }}">{% else %}<a href="{{site.url }}{{ post.url }}">{% endif %}<img src="{{ post.image | replace: '__SITE_URL__', site.url }}" alt="{{ post.image-alt }}" title="{{ post.image-alt }}" style="max-width:240px;height:auto;width:auto;" class="mb-3 mt-2"></a>
    {% endif %}

    {{ post.excerpt | markdownify }}

    <p><a class="btn btn-secondary h5" href="{{site.url }}{{ post.url }}" style="white-space: normal" role="button">{% if post.more-text == null %}View details{% else %}{{ post.more-text }}{% endif %} &raquo;</a></p>
    <hr />
{% endif %} {% endfor %}