diff --git a/_config.yml b/_config.yml index b1e5cff5..7b6c3750 100644 --- a/_config.yml +++ b/_config.yml @@ -108,6 +108,9 @@ sponsors: user_tracking: true +show_competition_status: true +competition_status_previous_event: Virtual League + exclude: - README.md - Rakefile diff --git a/_layouts/home.html b/_layouts/home.html index c12f5d4b..a07e08b3 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -27,6 +27,15 @@

Latest Post

{{ latest_post.date | date: "%e %B, %Y" }} + {% if site.show_competition_status %} +
+

Competition Status

+ Leaderboard +
+ after the {{ site.competition_status_previous_event }} +
+
+ {% endif %}
{% assign next_event = site.events | where_exp: "event", "event.date > site.time" | where_exp: "event", "event.cancelled != true" | first %}