Skip to content

Instantly share code, notes, and snippets.

@asimoesmcartor
Last active March 17, 2018 01:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save asimoesmcartor/2d1a4d9f11a45a26e8b61917b9a2b4d7 to your computer and use it in GitHub Desktop.
Save asimoesmcartor/2d1a4d9f11a45a26e8b61917b9a2b4d7 to your computer and use it in GitHub Desktop.
Past event archive file
<div class="padcontainer">
{% include "breadcrumbs" %}
<div class="content-container">
{% if page.headline.size > 0 %}
<h2 class="headline">{{ page.headline }}</h2>
{% endif %}
<div id="content">
{% if page.calendar.content.size > 0 %}
<div id="intro" class="intro">
{{ page.calendar.content }}
</div>
{% endif %}
<ul class="event-wrap">
{% for event in page.calendar.events_past %}
<li>{% include "event" %}</li>
{% endfor %}
</ul>
{{ page.calendar.events_past | paginate prev_label: "&laquo;" next_label: "&raquo;" }}
{% if page.calendar.show_map? %}
<div class="padbottommore">
<div class="form-wrap">
<div class="form">
<div class="padtop map-wrap">
{{ page.calendar.events_past_map }}
</div>
</div>
</div>
</div>
{% endif %}
</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment