Skip to content

Commit

Permalink
robotsこれで良さそう
Browse files Browse the repository at this point in the history
  • Loading branch information
takecchi committed Aug 6, 2023
1 parent b9eb5a1 commit c4e7d46
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import CssBaseline from '@mui/material/CssBaseline';
export const metadata: Metadata = {
title: 'Cuculus Roadmap',
description: 'Generated by create next app',
robots: process.env.META_ROBOTS,
};

export default function RootLayout({
Expand All @@ -18,11 +19,7 @@ export default function RootLayout({
}) {
return (
<html lang="ja">
<head>
{process.env.META_ROBOTS ? (
<meta name="robots" content={process.env.META_ROBOTS} />
) : undefined}
</head>
<head />
<CssBaseline />
<body>
<EmotionRegistry>
Expand Down

0 comments on commit c4e7d46

Please sign in to comment.