Commit Graph

1 Commits

Author SHA1 Message Date
Sebastian Lohff 1f93f9e7bd Dynamically find currently active Contest
Previously we had a lot of hardcoded contest information in the
templates. Name, ruleset and number of contest are now all taken from
the currently active contest and rendered into the templates. Instead of
an URL containing the current contest name, we just use a generic
/contest/. The API will no longer use "the contest with id=1", but the
currently active contest as well.

The currently active contest is - for now - the contest with the latest
deadline.
2022-01-22 19:22:52 +01:00