File tree 3 files changed +12
-3
lines changed
3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 1
- upcoming :
1
+ upcoming : []
2
+ past :
2
3
- name : Paris 2020
3
4
url : https://paris2020.hack-commit-pu.sh/
4
5
img : hcp-paris-2020.png
5
-
6
- past :
7
6
- name : Paris 2019
8
7
url : https://paris2019.hack-commit-pu.sh/
9
8
img : hcp-paris-2019.png
Original file line number Diff line number Diff line change 6
6
< h2 class ="section-heading "> Upcoming events</ h2 >
7
7
< hr class ="light ">
8
8
</ div >
9
+ {% if site.data.events.upcoming.size == 0 %}
10
+ < div class ="grid_item col-12 no-events ">
11
+ < p > Follow our < a rel ="noopener " target ="_blank " class ="page-scroll " href ="https://twitter.com/{{site.twitter_username}} "> Twitter account</ a > to stay in touch!</ p >
12
+ </ div >
13
+ {% else %}
9
14
{% include _events.html events=site.data.events.upcoming %}
15
+ {% endif %}
10
16
</ div >
11
17
</ div >
12
18
</ div >
Original file line number Diff line number Diff line change @@ -239,6 +239,10 @@ header .header-content {
239
239
.event {
240
240
background-color : $theme-primary ;
241
241
}
242
+
243
+ .no-events a {
244
+ text-decoration : underline ;
245
+ }
242
246
}
243
247
244
248
#past {
You can’t perform that action at this time.
0 commit comments