Skip to content

Commit 7e9c1a8

Browse files
authored
Merge pull request #366 from adpi2/add-past-events
Add past events section
2 parents a185509 + 1b801a4 commit 7e9c1a8

File tree

2 files changed

+20
-12
lines changed

2 files changed

+20
-12
lines changed

_data/events.yml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,48 +6,50 @@ scala_lunches:
66
events:
77
# 2024
88

9-
- date: "8 May 2024"
9+
- date: 3 October 2024
1010
time: "12:00pm"
1111
place: BC 410, EPFL
1212
speaker: # To be announced
1313
title: # to be announced
14-
15-
- date: "10 April 2024"
14+
15+
- date: 7 November 2024
1616
time: "12:00pm"
1717
place: BC 410, EPFL
1818
speaker: # To be announced
1919
title: # to be announced
20-
21-
- date: "13 March 2024"
20+
21+
- date: "5 December 2024"
2222
time: "12:00pm"
2323
place: BC 410, EPFL
2424
speaker: # To be announced
2525
title: # to be announced
26-
27-
- date: "20 February 2024"
26+
27+
- date: "20 February 2025"
2828
time: "12:00pm"
2929
place: BC 410, EPFL
3030
speaker: # To be announced
3131
title: # to be announced
32-
33-
- date: "5 December 2024"
32+
33+
- date: "13 March 2025"
3434
time: "12:00pm"
3535
place: BC 410, EPFL
3636
speaker: # To be announced
3737
title: # to be announced
3838

39-
- date: 7 November 2024
39+
- date: "10 April 2025"
4040
time: "12:00pm"
4141
place: BC 410, EPFL
4242
speaker: # To be announced
4343
title: # to be announced
4444

45-
- date: 3 October 2024
45+
- date: "8 May 2025"
4646
time: "12:00pm"
4747
place: BC 410, EPFL
4848
speaker: # To be announced
4949
title: # to be announced
5050

51+
past-events:
52+
5153
- date: "13 June 2024"
5254
time: "12:00pm"
5355
place: "**BC 333**, EPFL"

events.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<div class="clearfix"></div>
1313

1414
<div class="cards">
15-
{% assign events = site.data.events.scala_lunches.events %}
15+
1616
<div class="col-md-12 title scala-lunches">
1717
<h2 style="margin-bottom: 10px;">Scala Lunches at EPFL</h2>
1818
<p><a href="mailto:[email protected]?subject=Subscribe%20me%20to%20the%20Scala%20Center%20mailing%20list&body=Once%20you%20send%20this%20email%2C%20you%20will%20be%20subscribed%20to%20the%20Scala%20Center%20mailing%20list.%20This%20email%20will%20be%20handled%20automatically%20-%20you%20do%20not%20need%20to%20modify%20it%2C%20just%20click%20%22Send%22%20to%20get%20subscribed.">
@@ -22,6 +22,12 @@ <h2 style="margin-bottom: 10px;">Scala Lunches at EPFL</h2>
2222
</p>
2323
<p>{{site.data.events.scala_lunches.header}}</p>
2424
</div>
25+
{% assign events = site.data.events.scala_lunches.events %}
26+
<div class="col-md-12 card-list scala-lunches">
27+
{% include event-block.html %}
28+
</div>
29+
<h3>Past Lunches</h3>
30+
{% assign events = site.data.events.scala_lunches.past-events %}
2531
<div class="col-md-12 card-list scala-lunches">
2632
{% include event-block.html %}
2733
</div>

0 commit comments

Comments
 (0)