Skip to content

Commit

Permalink
Merge pull request #348 from flaviogalizia/master
Browse files Browse the repository at this point in the history
remove year from breadcrumb on Top Women page
  • Loading branch information
jwade1327 authored Jun 24, 2024
2 parents 1ed65f0 + e2a60ec commit c304407
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const topWomen = require('../../templates/website-section/awards-honors/top-wome
module.exports = (app) => {
app.get('/:alias(awards-honors/top-women)', newsletterState(), asyncRoute(async (req, res) => {
const { alias } = req.params;
res.redirect(301, `/${cleanPath(alias)}/2023`);
res.redirect(301, `/${cleanPath(alias)}/2024`);
}));

app.get('/:alias(awards-honors/top-women/\\d{4})', newsletterState(), withWebsiteSection({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ $ const queryParams = {

<@section|{ section }|>
<marko-web-block name=blockName>
<theme-content-page-breadcrumbs section=section />
<theme-content-page-breadcrumbs section=section display-self=false />
<marko-web-element block-name=blockName name="header">
<marko-web-website-section-name|{ value }|
tag="h1"
Expand Down

0 comments on commit c304407

Please sign in to comment.