Skip to content

Commit

Permalink
Fix metadata title in category page
Browse files Browse the repository at this point in the history
  • Loading branch information
itsbrunodev committed Jan 5, 2025
1 parent 3681cbd commit 28d7782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/snippets/[language]/[category]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export async function generateMetadata({
}: SnippetParams): Promise<Metadata> {
const { language, category } = await params;

const title = toTitleCase(category);
const title = `${toTitleCase(category)} - SnipNest`;
const description = `Snippets in the ${toTitleCase(
category,
)} category of ${formatLanguage(language)}.`;
Expand Down

0 comments on commit 28d7782

Please sign in to comment.