Skip to content

Commit

Permalink
docs: update, resolve kitian616#134
Browse files Browse the repository at this point in the history
  • Loading branch information
kitian616 committed Jan 10, 2019
1 parent 9abb5af commit d268a69
Show file tree
Hide file tree
Showing 15 changed files with 26 additions and 18 deletions.
4 changes: 2 additions & 2 deletions _data/locale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ en: &EN
EMAIL_ME : "Send me Email."
COPYRIGHT_DATES : "2019"

en-GB:
<<: *EN
en-US:
<<: *EN
en-CA:
<<: *EN
en-GB:
<<: *EN
en-AU:
<<: *EN

Expand Down
4 changes: 2 additions & 2 deletions _data/navigation.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
header:
- titles:
en : &EN Archive
en-GB : *EN
en-US : *EN
en-CA : *EN
en-GB : *EN
en-AU : *EN
zh-Hans : &ZH_HANS 归档
zh : *ZH_HANS
Expand All @@ -18,9 +18,9 @@ header:

- titles:
en : &EN About
en-GB : *EN
en-US : *EN
en-CA : *EN
en-GB : *EN
en-AU : *EN
zh-Hans : &ZH_HANS 关于
zh : *ZH_HANS
Expand Down
2 changes: 1 addition & 1 deletion _layouts/archive.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
layout: page
titles:
en : &EN Archive
en-GB : *EN
en-US : *EN
en-CA : *EN
en-GB : *EN
en-AU : *EN
zh-Hans : &ZH_HANS 归档
zh : *ZH_HANS
Expand Down
2 changes: 1 addition & 1 deletion _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
layout: articles
titles:
en : &EN Home
en-GB : *EN
en-US : *EN
en-CA : *EN
en-GB : *EN
en-AU : *EN
zh-Hans : &ZH_HANS 主页
zh : *ZH_HANS
Expand Down
2 changes: 1 addition & 1 deletion about.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
layout: article
titles:
en : &EN About
en-GB : *EN
en-US : *EN
en-CA : *EN
en-GB : *EN
en-AU : *EN
zh-Hans : &ZH_HANS 关于
zh : *ZH_HANS
Expand Down
2 changes: 1 addition & 1 deletion docs/_config.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ search:

## Google Custom Search Engine
google:
# custom_search_engine_id: 017643444788069204610 # Google Custom Search Engine ID
# custom_search_engine_id: 017643444788069204610:4gvhea_mvga # Google Custom Search Engine ID


## => Analytics
Expand Down
4 changes: 2 additions & 2 deletions docs/_data/locale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ en: &EN
EMAIL_ME : "Send me Email."
COPYRIGHT_DATES : "2019"

en-GB:
<<: *EN
en-US:
<<: *EN
en-CA:
<<: *EN
en-GB:
<<: *EN
en-AU:
<<: *EN

Expand Down
4 changes: 4 additions & 0 deletions docs/_docs/en/1.1-quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ To install it with common method, all you need to do is copying all the theme fi
$ git clone [email protected]:kitian616/jekyll-TeXt-theme.git
```

```bash
$ git clone https://github.com/kitian616/jekyll-TeXt-theme.git
```

1. Download and unzip the file to your Jekyll site directory.

<a class="button button--success button--rounded" href="https://github.com/kitian616/jekyll-TeXt-theme/archive/master.zip"><i class="fas fa-download"></i> Download TeXt Theme</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/_docs/en/2.7-i18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The translation keys and multi-language names mentioned above support the follow

| Language | `lang` |
| --- | --- |
| **English** | en, en-US, en-CA, enGB, en-AU |
| **English** | en, en-GB, en-US, en-CA, en-AU |
| **Simplified Chinese** | zh-Hans, zh, zh-CN, zh-SG |
| **Traditional Chinese** | zh-Hant, zh-TW, zh-HK |
| **Korean** | ko, ko-KR |
Expand Down
4 changes: 4 additions & 0 deletions docs/_docs/zh/1.1-quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ TeXt 是一款 100% 兼容 GitHub Pages 的 Jekyll 主题,你可以通过 Fork
$ git clone [email protected]:kitian616/jekyll-TeXt-theme.git
```

```bash
$ git clone https://github.com/kitian616/jekyll-TeXt-theme.git
```

1. 下载主题压缩包并解压到你的项目目录中:

<a class="button button--success button--rounded" href="https://github.com/kitian616/jekyll-TeXt-theme/archive/master.zip"><i class="fas fa-download"></i> 下载 TeXt 主题</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/_docs/zh/2.7-i18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ TeXt 把 UI 元素的文字整理成一系列的翻译标识统一的放置在 *

| 语言 | `lang` |
| --- | --- |
| **英语** | en, en-US, en-CA, enGB, en-AU |
| **英语** | en, en-GB, en-US, en-CA, en-AU |
| **简体中文** | zh-Hans, zh, zh-CN, zh-SG |
| **繁体中文** | zh-Hant, zh-TW, zh-HK |
| **韩语** | ko, ko-KR |
Expand Down
2 changes: 1 addition & 1 deletion docs/_languages/1-english.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ English.

```yml
lang: en
lang: en-GB
lang: en-US
lang: en-CA
lang: en-GB
lang: en-AU
```
4 changes: 2 additions & 2 deletions test/_data/locale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ en: &EN
EMAIL_ME : "Send me Email."
COPYRIGHT_DATES : "2019"

en-GB:
<<: *EN
en-US:
<<: *EN
en-CA:
<<: *EN
en-GB:
<<: *EN
en-AU:
<<: *EN

Expand Down
4 changes: 2 additions & 2 deletions test/_data/navigation.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
header:
- titles:
en : &EN Archive
en-GB : *EN
en-US : *EN
en-CA : *EN
en-GB : *EN
en-AU : *EN
zh-Hans : &ZH_HANS 归档
zh : *ZH_HANS
Expand All @@ -18,9 +18,9 @@ header:

- titles:
en : &EN About
en-GB : *EN
en-US : *EN
en-CA : *EN
en-GB : *EN
en-AU : *EN
zh-Hans : &ZH_HANS 关于
zh : *ZH_HANS
Expand Down
2 changes: 1 addition & 1 deletion test/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
layout: article
titles:
en : &EN About
en-GB : *EN
en-US : *EN
en-CA : *EN
en-GB : *EN
en-AU : *EN
zh-Hans : &ZH_HANS 关于
zh : *ZH_HANS
Expand Down

0 comments on commit d268a69

Please sign in to comment.