Skip to content

Commit 68c2d8b

Browse files
authored
fix (#617)
1 parent 1386ba2 commit 68c2d8b

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

src/app/domain/[slug]/page.tsx

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,15 @@ export async function generateMetadata({
2222
const domain = domains.find((d) => d.slug === slug);
2323
if (!domain) return { title: "Domaine introuvable" };
2424

25-
return pageMetadata({
26-
title: `${domain.name} | Carrières Efficience IT`,
27-
description: domain.description,
28-
path: `/domain/${slug}`,
29-
absoluteTitle: true,
30-
});
25+
return {
26+
...pageMetadata({
27+
title: `${domain.name} | Carrières Efficience IT`,
28+
description: domain.description,
29+
path: `/domain/${slug}`,
30+
absoluteTitle: true,
31+
}),
32+
robots: { index: false },
33+
};
3134
}
3235

3336
export default async function DomainPage({ params }: DomainPageProps) {

0 commit comments

Comments
 (0)