File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed
Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 1- upcoming :
1+ upcoming : []
2+ past :
23 - name : Paris 2020
34 url : https://paris2020.hack-commit-pu.sh/
45 img : hcp-paris-2020.png
5-
6- past :
76 - name : Paris 2019
87 url : https://paris2019.hack-commit-pu.sh/
98 img : hcp-paris-2019.png
Original file line number Diff line number Diff line change 66 < h2 class ="section-heading "> Upcoming events</ h2 >
77 < hr class ="light ">
88 </ 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 %}
914 {% include _events.html events=site.data.events.upcoming %}
15+ {% endif %}
1016 </ div >
1117 </ div >
1218 </ div >
Original file line number Diff line number Diff line change @@ -239,6 +239,10 @@ header .header-content {
239239 .event {
240240 background-color : $theme-primary ;
241241 }
242+
243+ .no-events a {
244+ text-decoration : underline ;
245+ }
242246}
243247
244248#past {
You can’t perform that action at this time.
0 commit comments