-
Notifications
You must be signed in to change notification settings - Fork 522
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ssr): avoid duplicate hreflang for zh-CN/zh-TW alternate links (#…
…7921) Keeps `zh` (for `zh-CN`), but adds `zh-Hans` (for `zh-CN`) and `zh-Hant` (for `zh-TW`). Co-authored-by: Claas Augner <[email protected]>
- Loading branch information
Showing
3 changed files
with
65 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
title: "<foo>: 测试网页" | ||
slug: Web/Foo | ||
translation_of: Web/Foo | ||
--- | ||
|
||
This is a test page for hreflang tag testing. When zh-TW locale is also | ||
available, this page should not have duplicate hreflang tags. |