I'm trying to block Pinterest on my website by adding the meta tag
<meta name="pinterest" content="nopin" />
in the site's header, but I'm uncertain how to do this in Next 13 using the new exported metadata object format. I checked the documentation for guidance on this object, but unfortunately, I couldn't figure it out.
export const metadata = {
title: "Create Next App",
description: "Generated by create next app",
};
EDIT (April 18th): Despite following Mathieu's suggestion and the official documentation, I can't seem to get the meta tag to effectively block Pinterest from appearing on my site.
The meta tag is included in my root layout file, yet Pinterest pinning options continue to show up on my website.
export const metadata = {
other: { pinterest: "nopin" },
};