我想<link rel="alternate" hreflang="lang_code"... >向页面标题添加元素以告知页面的所有语言和区域变体。
标题示例homepage:
<link rel="alternate" hrefLang="en" href="https://WEBSITE_URL/" />\n<link rel="alternate" hrefLang="de" href="https://WEBSITE_URL/de" />\n<link rel="alternate" hrefLang="nl" href="https://WEBSITE_URL/nl" />\nRun Code Online (Sandbox Code Playgroud)\n标题示例about-us:
<link rel="alternate" hrefLang="en" href="https://WEBSITE_URL/about-us" />\n<link rel="alternate" hrefLang="de" href="https://WEBSITE_URL/de/\xc3\xbcber-uns" />\n<link rel="alternate" hrefLang="nl" href="https://WEBSITE_URL/nl/over-ons" />\nRun Code Online (Sandbox Code Playgroud)\n并在每个页面中重复此操作,并使用该语言的相应路径。是否可以使用 Next.js 动态创建它?
\n