Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% for event in page.calendar.events_past reversed %}
- <div class="event event-ciclavia desktop-12 tablet-6 mobile-3">
- <div class="desktop-8 tablet-6 mobile-3 contained right">
- <div class="event-thumbnail" style="background-image: url({{ event['history-image.jpg'] }}) "></div>
- </div>
- <div class="event-info desktop-4 tablet-6 mobile-3 contained">
- <header class="event-header">
- <a href="{{ event.url }}">
- <h4>{{ event.event.local_start_at | date: '%A, %B %d, %Y' }}</h4>
- <h2>{{ event.name }}</h2>
- <h4>{{ event.page.venue_name }}</h4>
- </a>
- {{ page.excerpt }}
- </header>
- <div class="event-meta">
- {% if event['ciclavia-routemap.pdf'] != 'ciclavia-routemap.pdf' %}<a class="btn btn-primary ss-glyphish-outlined ss-map" href="{{ event['ciclavia-routemap.pdf'] }}" download>Route Map</a>{% endif %}
- {% if event['ciclavia-neighborhoodguide.pdf'] != 'ciclavia-neighborhoodguide.pdf' %}<a class="btn btn-primary ss-glyphish-outlined ss-newspaper" href="{{ event['ciclavia-neighborhoodguide.pdf'] }}" download>Neighborhood Guide</a>{% endif %}
- {% if event['ciclavia-activityguide.pdf'] != 'ciclavia-activityguide.pdf' %}<a class="btn btn-primary ss-glyphish-outlined ss-page" href="{{ event['ciclavia-activityguide.pdf'] }}" download>Activity Guide</a>{% endif %}
- <br><a class="btn-more" href="{{ event.url }}">Learn More</a>
- </div>
- </div>
- </div>
- {% endfor %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement