Skip to content
New issue

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

Add custom hreflang to IDomain locales #8

Open
Keith-Hon opened this issue Mar 27, 2022 · 0 comments
Open

Add custom hreflang to IDomain locales #8

Keith-Hon opened this issue Mar 27, 2022 · 0 comments

Comments

@Keith-Hon
Copy link

Since the targeted hreflang might be different from the nextjs locale, I suggest changing the IDomain type to

export interface IDomain {
domain: string;
defaultLocale?: string;
locales?: { nextLocale: string; hreflang: string }[];
http?: boolean;
}

@Keith-Hon Keith-Hon changed the title Add custom hreflangto IDomain locales Add custom hreflang to IDomain locales Mar 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant