Skip to content

Commit

Permalink
Add missing baseurl prefixes for these internal links
Browse files Browse the repository at this point in the history
No idea how these were missed previously given that without these
the links in the page bodies don't work locally.
  • Loading branch information
PeterJCLaw committed Mar 4, 2024
1 parent 3075bd1 commit 41123db
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions comp/knockout.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h1>Knockouts</h1>

<p>
All the teams in this year’s competition will enter the knockout stages.
Teams are placed into the initial knockout rounds based on their <a href="/comp/league">league points</a>.
Teams are placed into the initial knockout rounds based on their <a href="{{ site.baseurl }}/comp/league">league points</a>.
From there, the top two robots in each match will progress to the next round.
</p>

Expand All @@ -25,7 +25,7 @@ <h1>Knockouts</h1>

<p data-ng-if="!knockout_started">
The knockouts have not yet started.
See the <a href="/comp/schedule">match schedule</a> for information about the current match.
See the <a href="{{ site.baseurl }}/comp/schedule">match schedule</a> for information about the current match.
</p>

<div id="knockouts-container">
Expand Down
4 changes: 2 additions & 2 deletions comp/league.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ <h1>League Status</h1>
</ul>

<p>
The positions of the teams within the league are used to seed the <a href="/comp/knockout">knockouts</a>.
The positions of the teams within the league are used to seed the <a href="{{ site.baseurl }}/comp/knockout">knockouts</a>.
</p>

<p>
Details of the scores for each individual match are available on the <a href="/comp/points">points page</a>.
Details of the scores for each individual match are available on the <a href="{{ site.baseurl }}/comp/points">points page</a>.
</p>

<p>
Expand Down
2 changes: 1 addition & 1 deletion comp/points.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ <h1>Match Points</h1>
</p>

<p>
For a summary of all the teams’ points, see the <a href="/comp/league">league points</a> page.
For a summary of all the teams’ points, see the <a href="{{ site.baseurl }}/comp/league">league points</a> page.
</p>

<div class="points" data-ng-repeat="match in matches|pickMatches:chosenMatches">
Expand Down
4 changes: 2 additions & 2 deletions comp/schedule.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ <h1>Match Schedule</h1>

<p>
This page shows the schedule of matches for the competition.
During most of the sessions teams earn <a href="/comp/league">league points</a>,
which are used to seed the the <a href="/comp/knockout" title="An alternative, tree style, view of the knockouts">knockout</a> rounds.
During most of the sessions teams earn <a href="{{ site.baseurl }}/comp/league">league points</a>,
which are used to seed the the <a href="{{ site.baseurl }}/comp/knockout" title="An alternative, tree style, view of the knockouts">knockout</a> rounds.
The knockout rounds occur during the <a href="#last-session">last session</a> of the competition.
</p>

Expand Down
2 changes: 1 addition & 1 deletion comp/team.html
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ <h4>Points Earned</h4>
</table>

<p>
<strong>League position:</strong> [[ teams[$storage.chosenTeam].league_pos ]] (<a href="/comp/league">full ranking</a>)
<strong>League position:</strong> [[ teams[$storage.chosenTeam].league_pos ]] (<a href="{{ site.baseurl }}/comp/league">full ranking</a>)
</p>

<table class="past">
Expand Down

0 comments on commit 41123db

Please sign in to comment.