-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathevents.html
31 lines (31 loc) · 1016 Bytes
/
events.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
layout: page
title: Events
nav-title: Events
url: /events
order: 3
---
<main class="events" aria-label="Content">
<div class="wrapper">
{%- if site.posts.size > 0 -%}
<div class="post-list">
{%- for post in site.posts -%}
<div class="post-card">
<a class="post-card__image" href="{{ post.url | relative_url }}">
<img src="{{ site.baseurl }}{{post.thumbnail}}" />
</a>
<div class="post-card__content">
<h2>{{ post.title }}</h2>
<time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
{{ page.date | date: date_format }}
</time>
<h4>{{ post.date | date: date_format }}</h4>
</div>
<a class="post-card__read-more" href="{{ post.url | relative_url }}"><h4>View Details ></h4></a>
</div>
{%- endfor -%}
</div>
{%- endif -%}
</div>
</main>