We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot read properties of undefined (reading 'map') components/HeadHrefLangs.astro:10:19 --- import i18next from "i18next"; import { localizeUrl } from "../.."; const supportedLanguages = i18next.languages; const currentUrl = Astro.url.href; --- { supportedLanguages.map((supportedLanguage) => ( <link rel="alternate" hreflang={supportedLanguage} href={localizeUrl(currentUrl, supportedLanguage)} /> )) }
另外不太明白的是page下面有一个index.astro, 但是zh文件夹下没有,那么如果路由是 localhost:43121/zh 怎么识别呢
The text was updated successfully, but these errors were encountered:
zh 文件夹下的 astro 文件都是 i18next 自动生成的文件,所以都忽略(git)了。刚才加了一个script c082d56 应该修复了
Sorry, something went wrong.
No branches or pull requests
另外不太明白的是page下面有一个index.astro, 但是zh文件夹下没有,那么如果路由是 localhost:43121/zh 怎么识别呢
The text was updated successfully, but these errors were encountered: