Skip to content

Commit 1b0466b

Browse files
committedDec 12, 2020
Added remote event option
1 parent df72353 commit 1b0466b

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed
 

‎_data/events.yml

+1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
date: "12th December, 2020"
33
time: "2:30 PM onwards"
44
register_link: "https://bit.ly/w12-reg"
5+
type: "remote"
56
has_ended: false

‎index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ <h3>We are a team of students in GITAM that aim to promote coding as being fun,
1717
</div>
1818
{% assign event = site.data.events[0] %}
1919
<div class="intro-content col-sm-10 offset-sm-1 col-lg-5 offset-lg-1 d-flex justify-content-center align-items-center flex-column">
20-
<h3>💻 {% unless event.has_ended %}Sign up for {% endunless %}{{ event.title }} 📈</h3>
20+
<h3>💻 {% if event.has_ended %}You just missed{% else %}Sign up for{% endif %} {{ event.title }} 📈</h3>
2121
<br />
2222
<img
2323
alt="{{ event.title }} Poster"

‎schedule.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
{% assign event = site.data.events[0] %}
88
<div class="text-center">
99
<p class="lead">
10-
{% unless event.has_ended %}Sign up for {% endunless %}{{ event.title }} 💻
10+
{% unless event.has_ended %}Sign up for {% endunless %}{{ event.title }} 💻{% if event.has_ended %} has ended!{% endif %}
1111
<br />
12-
{{ event.date }}, {{ event.time }} at {{ event.venue | default: "ICT-208" }}
12+
{{ event.date }}, {{ event.time }}, {% if event.type == "remote" %}partipate from home!{% else %} at {{ event.venue | default: "ICT-208" }}{% endif %}
1313
<br />
1414
Stay tuned for more updates!
1515
</p>

0 commit comments

Comments
 (0)
Please sign in to comment.