How the title, description, and Open Graph images are configured in the CMS.
generateMetadata
function to generate the metadata.
For example, here’s how we’ve wired up the metadata for the blog post page, using the createMetadata
function from the SEO package:
blog.getPost
is a function that abstracts the logic of fetching the blog post from the CMS. Under the hood, it uses the BaseHub SDK to fetch the blog post from the CMS: