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