mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-30 11:13:06 +00:00
Merge pull request #349 from LinuxSuRen/i18n-zh
Add Chinese language for this theme
This commit is contained in:
commit
9ea4881d09
3 changed files with 41 additions and 2 deletions
|
@ -73,3 +73,30 @@ weight = 20
|
||||||
name = "<i class='fas fa-fw fa-bullhorn'></i> Crédits"
|
name = "<i class='fas fa-fw fa-bullhorn'></i> Crédits"
|
||||||
url = "/credits"
|
url = "/credits"
|
||||||
weight = 30
|
weight = 30
|
||||||
|
|
||||||
|
[Languages.zh]
|
||||||
|
title = "Hugo 主题的 Learn 文档"
|
||||||
|
weight = 3
|
||||||
|
languageName = "简体中文"
|
||||||
|
|
||||||
|
[[Languages.zh.menu.shortcuts]]
|
||||||
|
name = "<i class='fab fa-fw fa-github'></i> GitHub 仓库"
|
||||||
|
identifier = "ds"
|
||||||
|
url = "https://github.com/matcornic/hugo-theme-learn"
|
||||||
|
weight = 10
|
||||||
|
|
||||||
|
[[Languages.zh.menu.shortcuts]]
|
||||||
|
name = "<i class='fas fa-fw fa-camera'></i> 展示区"
|
||||||
|
url = "/showcase"
|
||||||
|
weight = 11
|
||||||
|
|
||||||
|
[[Languages.zh.menu.shortcuts]]
|
||||||
|
name = "<i class='fas fa-fw fa-bookmark'></i> Hugo 文档"
|
||||||
|
identifier = "hugodoc"
|
||||||
|
url = "https://gohugo.io/"
|
||||||
|
weight = 20
|
||||||
|
|
||||||
|
[[Languages.zh.menu.shortcuts]]
|
||||||
|
name = "<i class='fas fa-fw fa-bullhorn'></i> 鸣谢"
|
||||||
|
url = "/credits"
|
||||||
|
weight = 30
|
||||||
|
|
12
exampleSite/content/basics/_index.zh.md
Executable file
12
exampleSite/content/basics/_index.zh.md
Executable file
|
@ -0,0 +1,12 @@
|
||||||
|
---
|
||||||
|
title: 基础
|
||||||
|
weight: 5
|
||||||
|
pre: "<b>1. </b>"
|
||||||
|
chapter: true
|
||||||
|
---
|
||||||
|
|
||||||
|
### 章节 1
|
||||||
|
|
||||||
|
# 基础
|
||||||
|
|
||||||
|
了解该 Hugo 主题的特点以及背后的核心概念。
|
|
@ -17,10 +17,10 @@ other = "哎哟。 看起来这个页面不存在 ¯\\_(ツ)_/¯。"
|
||||||
other = "转到主页"
|
other = "转到主页"
|
||||||
|
|
||||||
[Edit-this-page]
|
[Edit-this-page]
|
||||||
other = "Edit this page"
|
other = "编辑当前页"
|
||||||
|
|
||||||
[Shortcuts-Title]
|
[Shortcuts-Title]
|
||||||
other = "更多"
|
other = "更多"
|
||||||
|
|
||||||
[Expand-title]
|
[Expand-title]
|
||||||
other = "Expand me..."
|
other = "展开"
|
||||||
|
|
Loading…
Reference in a new issue