Skip to content

Add past events section #366

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 13 additions & 11 deletions _data/events.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,48 +6,50 @@ scala_lunches:
events:
# 2024

- date: "8 May 2024"
- date: 3 October 2024
time: "12:00pm"
place: BC 410, EPFL
speaker: # To be announced
title: # to be announced
- date: "10 April 2024"

- date: 7 November 2024
time: "12:00pm"
place: BC 410, EPFL
speaker: # To be announced
title: # to be announced
- date: "13 March 2024"

- date: "5 December 2024"
time: "12:00pm"
place: BC 410, EPFL
speaker: # To be announced
title: # to be announced
- date: "20 February 2024"

- date: "20 February 2025"
time: "12:00pm"
place: BC 410, EPFL
speaker: # To be announced
title: # to be announced
- date: "5 December 2024"

- date: "13 March 2025"
time: "12:00pm"
place: BC 410, EPFL
speaker: # To be announced
title: # to be announced

- date: 7 November 2024
- date: "10 April 2025"
time: "12:00pm"
place: BC 410, EPFL
speaker: # To be announced
title: # to be announced

- date: 3 October 2024
- date: "8 May 2025"
time: "12:00pm"
place: BC 410, EPFL
speaker: # To be announced
title: # to be announced

past-events:

- date: "13 June 2024"
time: "12:00pm"
place: "**BC 333**, EPFL"
Expand Down
8 changes: 7 additions & 1 deletion events.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<div class="clearfix"></div>

<div class="cards">
{% assign events = site.data.events.scala_lunches.events %}

<div class="col-md-12 title scala-lunches">
<h2 style="margin-bottom: 10px;">Scala Lunches at EPFL</h2>
<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.">
Expand All @@ -22,6 +22,12 @@ <h2 style="margin-bottom: 10px;">Scala Lunches at EPFL</h2>
</p>
<p>{{site.data.events.scala_lunches.header}}</p>
</div>
{% assign events = site.data.events.scala_lunches.events %}
<div class="col-md-12 card-list scala-lunches">
{% include event-block.html %}
</div>
<h3>Past Lunches</h3>
{% assign events = site.data.events.scala_lunches.past-events %}
<div class="col-md-12 card-list scala-lunches">
{% include event-block.html %}
</div>
Expand Down
Loading