From 94a19f627baec3da278ba3affecdf04fad73894a Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Wed, 27 Nov 2019 15:59:06 +0100 Subject: [PATCH] Change Chinese language tag to zh-CN (simplified Chinese) --- blog/config.toml | 2 +- .../01-freestanding-rust-binary/{index.zh.md => index.zh-CN.md} | 2 +- .../second-edition/posts/{_index.zh.md => _index.zh-CN.md} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename blog/content/second-edition/posts/01-freestanding-rust-binary/{index.zh.md => index.zh-CN.md} (99%) rename blog/content/second-edition/posts/{_index.zh.md => _index.zh-CN.md} (100%) diff --git a/blog/config.toml b/blog/config.toml index 1f86d6e1..cf631129 100644 --- a/blog/config.toml +++ b/blog/config.toml @@ -6,7 +6,7 @@ highlight_theme = "visual-studio-dark" generate_rss = true languages = [ - { code = "zh" }, # Chinese + { code = "zh-CN" }, # Chinese (simplified) ] [extra] diff --git a/blog/content/second-edition/posts/01-freestanding-rust-binary/index.zh.md b/blog/content/second-edition/posts/01-freestanding-rust-binary/index.zh-CN.md similarity index 99% rename from blog/content/second-edition/posts/01-freestanding-rust-binary/index.zh.md rename to blog/content/second-edition/posts/01-freestanding-rust-binary/index.zh-CN.md index 18c8101d..423679b7 100644 --- a/blog/content/second-edition/posts/01-freestanding-rust-binary/index.zh.md +++ b/blog/content/second-edition/posts/01-freestanding-rust-binary/index.zh-CN.md @@ -1,7 +1,7 @@ +++ title = "独立的Rust二进制" weight = 1 -path = "zh/freestanding-rust-binary" +path = "zh-CN/freestanding-rust-binary" date = 2018-02-10 +++ diff --git a/blog/content/second-edition/posts/_index.zh.md b/blog/content/second-edition/posts/_index.zh-CN.md similarity index 100% rename from blog/content/second-edition/posts/_index.zh.md rename to blog/content/second-edition/posts/_index.zh-CN.md