Skip to content

Commit 410b83a

Browse files
committed
Moved events to YAML
1 parent b74f6e9 commit 410b83a

File tree

3 files changed

+10
-76
lines changed

3 files changed

+10
-76
lines changed

_data/events.json

Lines changed: 0 additions & 74 deletions
This file was deleted.

_data/events.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
events:
2+
3+
# - name: CoderDojo Rise
4+
# date: 28 Mar 2020
5+
# time: 14:00
6+
# location: RISE London, 41 Luke Street, London EC2A 4DP
7+
# type: Regular
8+
# ticketsLink: https://www.eventbrite.co.uk/e/coderdojo-rise-28-march-2020-tickets-87608614725

_includes/partials/events-table.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<h3>Upcoming Events</h3>
44

5-
{% if site.data.events %}
5+
{% if site.data.events.events %}
66
<table class="table table-striped table-condensed">
77
<thead>
88
<tr>
@@ -15,7 +15,7 @@ <h3>Upcoming Events</h3>
1515
</tr>
1616
</thead>
1717
<tbody>
18-
{% for event in site.data.events %}
18+
{% for event in site.data.events.events %}
1919
<tr>
2020
<td class="col-date">{{ event.date }}</td>
2121
<td class="col-date hidden-xs">{{ event.time }}</td>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy