Skip to content

Commit

Permalink
[CARE-6533] Capitalize tag in page title
Browse files Browse the repository at this point in the history
  • Loading branch information
fgyimah committed Nov 5, 2024
1 parent d08d648 commit 139b591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/[localeCode]/tag/[tag]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export async function generateMetadata({ params }: Props): Promise<Metadata> {

return generatePageMetadata({
locale: localeCode,
title: tag,
title: tag.charAt(0).toUpperCase() + tag.slice(1),
generateUrl: (locale) => generateUrl('tag', { localeCode: locale, tag }),
});
}
Expand Down

0 comments on commit 139b591

Please sign in to comment.