Skip to content

Commit

Permalink
Parametrise these urls
Browse files Browse the repository at this point in the history
Fixes #50
  • Loading branch information
PeterJCLaw committed Jul 24, 2024
1 parent 2eb4f9f commit 5c9e42f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ description: >
year: 2024
api_root: https://studentrobotics.org/comp-api

challenges_link: https://studentrobotics.org/docs/resources/2024/rulebook.html#challenges
virtual_competition_link: https://studentrobotics.org/events/sr2024/virtual-competition/
competition_link: https://studentrobotics.org/events/sr2024/competition/
youtube_stream_link: https://www.youtube-nocookie.com/embed/CpCC2fTn0os
venue_layout_link: https://studentrobotics.org/resources/sr2024/venue-map.pdf
Expand Down
4 changes: 2 additions & 2 deletions comp/league.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ <h1>League Status</h1>

<p>
Teams can earn league points through a series of
<a href="https://studentrobotics.org/docs/resources/2024/rulebook.html#challenges">challenges</a>,
<a href="{{ site.challenges_link }}">challenges</a>,
from league matches at the
<a href="https://studentrobotics.org/events/sr2024/virtual-competition/">virtual competition</a>
<a href="{{ site.virtual_competition_link }}">virtual competition</a>
and from the league matches at the in-person competition in April.
</ul>

Expand Down

0 comments on commit 5c9e42f

Please sign in to comment.