Skip to content

Commit a47e562

Browse files
authored
Merge pull request #2230 from Kobzol/people-url
Use nicer URL for all project members page
2 parents b62f3a5 + 0f5e22c commit a47e562

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/redirect.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ pub static PAGE_REDIRECTS: &[(&str, &str)] = &[
3939
// miscellaneous
4040
("governance/teams", "governance#teams"),
4141
("governance/wgs", "governance#working-groups"),
42+
("governance/all-team-members.html", "governance/people"),
4243
];
4344

4445
pub static STATIC_FILES_REDIRECTS: &[(&str, &str)] = &[

src/render.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ pub fn render_governance(render_ctx: &RenderCtx) -> anyhow::Result<()> {
227227

228228
// Page with all team members
229229
let all_team_members_data = render_ctx.teams.all_team_members();
230-
for_all_langs("governance/all-team-members.html", |dst_path, lang| {
230+
for_all_langs("governance/people/index.html", |dst_path, lang| {
231231
render_ctx
232232
.page(
233233
"governance/all-team-members",

templates/governance/index.html.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
{{/each~}}
3636
</div>
3737
<div class="flex">
38-
<a href="{{baseurl}}/governance/all-team-members.html" class="center w-100 mw6 button button-secondary">
38+
<a href="{{baseurl}}/governance/people" class="center w-100 mw6 button button-secondary">
3939
{{fluent "governance-rust-project-link"}}
4040
</a>
4141
</div>

0 commit comments

Comments
 (0)