Skip to content

Instantly share code, notes, and snippets.

@scottpdawson
Created November 29, 2020 16:46
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 scottpdawson/f3c84c3c47715034f4e542c41a10abb7 to your computer and use it in GitHub Desktop.
Save scottpdawson/f3c84c3c47715034f4e542c41a10abb7 to your computer and use it in GitHub Desktop.
<table>
<thead>
<tr>
<th>Date</th>
<th>Title</th>
<th>Location</th>
</tr>
</thead>
<tbody>
{%- for post in collections.events -%}
<tr>
<td>{{ post.date }}</td>
<td><a href="{{ post.url }}">{{ post.data.title }}</a></td>
<td>{{ post.data.location }}</td>
</tr>
{%- endfor -%}
</tbody>
</table>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment