Skip to content

Commit

Permalink
Downcase slugs in teamLink
Browse files Browse the repository at this point in the history
  • Loading branch information
beechnut committed Jun 5, 2024
1 parent 7289d10 commit 8d204f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const teamPhoto = (slug) => {

const teamLink = (slug) => {
const name = fullName(findPerson(slug))
return `<a href="/author/${slug}/">${name}</a>`
return `<a href="/author/${slug.toLowerCase()}/">${name}</a>`
}

// TODO These all need implementation, they're just placeholders so the site builds at all
Expand Down

0 comments on commit 8d204f3

Please sign in to comment.