From f616491457f5937e1174b5c141aff99e1607cca3 Mon Sep 17 00:00:00 2001 From: Zhao Xiaojie Date: Wed, 4 Dec 2019 11:17:39 +0800 Subject: [PATCH] Add Chinese language for this theme --- exampleSite/config.toml | 5 +++++ exampleSite/content/basics/_index.zh.md | 12 ++++++++++++ 2 files changed, 17 insertions(+) create mode 100755 exampleSite/content/basics/_index.zh.md diff --git a/exampleSite/config.toml b/exampleSite/config.toml index c75f508c00..989033d307 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -73,3 +73,8 @@ weight = 20 name = " Crédits" url = "/credits" weight = 30 + +[Languages.zh] +title = "Hugo 主题的 Learn 文档" +weight = 3 +languageName = "简体中文" diff --git a/exampleSite/content/basics/_index.zh.md b/exampleSite/content/basics/_index.zh.md new file mode 100755 index 0000000000..6c5d5dacce --- /dev/null +++ b/exampleSite/content/basics/_index.zh.md @@ -0,0 +1,12 @@ +--- +title: 基础 +weight: 5 +pre: "1. " +chapter: true +--- + +### 章节 1 + +# 基础 + +了解该 Hugo 主题的特点以及背后的核心概念。