mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
8 lines
222 B
React
8 lines
222 B
React
export async function generateMetadata({ params: { blog: title } }) {
|
|
return { title, description: 'A blog post about ' + title }
|
|
}
|
|
|
|
export default function Page({ params }) {
|
|
return <h1>All about {params.blog}</h1>
|
|
}
|