在最近的 Next JS 13 更新中,他们引入了一种处理元标记的新方法,该方法与传统方法不同,即创建 Next Head 并编写常用的 html 元标记。在新方法中,我们创建一个类似元数据对象的方法。但我还没有找到使用开放图元数据的方法。
export const metadata = {
title:
" this is the title of the web",
description:
" this is the description section",
ogtitle: "this is open graph title for testing", // i thought this could be the case
};
那么我如何在元数据中使用开放图?
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号