Open this example in the interactive library
Source code
// app/workshop/page.tsx
import type { Metadata } from "next";
export const metadata: Metadata = {
title: "Draft preview",
robots: { index: false, follow: false },
};
export default function DraftPreviewIndexing() {
return (
<main>
<h1>Draft preview</h1>
<p>Editorial work in progress.</p>
</main>
);
}
