The root layout was stamping the homepage title and production root onto every page. Routes now supply a page segment through one em-dash template, canonicals follow the request path, and non-production hosts disallow crawlers. Co-authored-by: Cursor <cursoragent@cursor.com>
13 lines
388 B
TypeScript
13 lines
388 B
TypeScript
import type { Metadata } from "next";
|
|
import messages from "../../../messages/en/index";
|
|
import { routeMetadata } from "../../../lib/siteMetadata";
|
|
import MonitorPageContent from "./MonitorPageContent";
|
|
|
|
export const metadata: Metadata = routeMetadata("/monitor", {
|
|
title: messages.metadata.monitor.title,
|
|
});
|
|
|
|
export default function MonitorPage() {
|
|
return <MonitorPageContent />;
|
|
}
|