Skip to content

Commit 8f0e38f

Browse files
authored
Merge pull request #1929 from Turbo87/fix-release-team-url
Add `/governance/teams/release` redirect
2 parents 660f75c + 863154f commit 8f0e38f

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/redirect.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ static PAGE_REDIRECTS: &[(&str, &str)] = &[
2424
("security.html", "policies/security"),
2525
("team.html", "governance"),
2626
("user-groups.html", "community"),
27+
// Team changes
28+
(
29+
"governance/teams/release",
30+
"governance/teams/infra#team-release",
31+
),
2732
];
2833

2934
static STATIC_FILES_REDIRECTS: &[(&str, &str)] = &[

templates/governance/group-team.html.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<a id="{{team-text team name}}" name="{{team.name}}"></a>
1+
<a id="team-{{team.name}}"></a>
22
<div class="w-100 mw-none mw-8-m mw9-l ph3 center f3">
33
<header class="pb0 pt5">
4-
<a class="linkable-subheading" href="#{{team-text team name}}"><h2>{{team-text team name}}</h2></a>
4+
<a class="linkable-subheading" href="#team-{{team.name}}"><h2>{{team-text team name}}</h2></a>
55
<div class="highlight"></div>
66
</header>
77
<div>

0 commit comments

Comments
 (0)