Skip to content

Commit

Permalink
Merge pull request #1929 from Turbo87/fix-release-team-url
Browse files Browse the repository at this point in the history
Add `/governance/teams/release` redirect
Manishearth authored Feb 26, 2024
2 parents 660f75c + 863154f commit 8f0e38f
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions src/redirect.rs
Original file line number Diff line number Diff line change
@@ -24,6 +24,11 @@ static PAGE_REDIRECTS: &[(&str, &str)] = &[
("security.html", "policies/security"),
("team.html", "governance"),
("user-groups.html", "community"),
// Team changes
(
"governance/teams/release",
"governance/teams/infra#team-release",
),
];

static STATIC_FILES_REDIRECTS: &[(&str, &str)] = &[
4 changes: 2 additions & 2 deletions templates/governance/group-team.html.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<a id="{{team-text team name}}" name="{{team.name}}"></a>
<a id="team-{{team.name}}"></a>
<div class="w-100 mw-none mw-8-m mw9-l ph3 center f3">
<header class="pb0 pt5">
<a class="linkable-subheading" href="#{{team-text team name}}"><h2>{{team-text team name}}</h2></a>
<a class="linkable-subheading" href="#team-{{team.name}}"><h2>{{team-text team name}}</h2></a>
<div class="highlight"></div>
</header>
<div>

0 comments on commit 8f0e38f

Please sign in to comment.