Skip to content

Commit 0fa8ace

Browse files
committed
feat(sampleSite): add test page for Japanese & Traditional Chinese
1 parent 41363ed commit 0fa8ace

File tree

6 files changed

+78
-2
lines changed

6 files changed

+78
-2
lines changed

exampleSite/content/_index.ja.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
menu:
3+
main:
4+
name: ホーム
5+
weight: -100
6+
params:
7+
icon: home
8+
---
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
menu:
3+
main:
4+
name: 主頁
5+
weight: -100
6+
params:
7+
icon: home
8+
---
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: Japanese Test
3+
description: これはサブタイトル
4+
date: 2020-09-09
5+
slug: test-chinese
6+
image: helena-hertz-wWZzXlDpMog-unsplash.jpg
7+
categories:
8+
- Test
9+
- テスト
10+
---
11+
12+
## 本文テスト(フォント)
13+
14+
返扇花週認契適違込遷雇述請曜藤突扉直角
15+
16+
## 引用
17+
18+
> 国破れて山河在り\
19+
> 城春にして草木深し\
20+
> 時に感じては花にも涙を濺ぎ\
21+
> 別れを恨んでは鳥にも心を驚かす
22+
>
23+
> 烽火三月に連なり\
24+
> 家書万金に抵たる\
25+
> 白頭掻けば更に短く\
26+
> 渾べて簪に勝へざらんと欲す

exampleSite/content/post/chinese-test/index.zh-cn.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,8 @@ categories:
3636
![Photo by Helena Hertz on Unsplash](helena-hertz-wWZzXlDpMog-unsplash.jpg) ![Photo by Hudai Gayiran on Unsplash](hudai-gayiran-3Od_VKcDEAA-unsplash.jpg)
3737
```
3838

39-
相册语法来自 [Typlog](https://typlog.com/)
39+
相册语法来自 [Typlog](https://typlog.com/)
40+
41+
## 字体
42+
43+
返扇花週認契適違込遷雇述請曜藤突扉直角
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: Chinese Test
3+
description: 這是一個副標題
4+
date: 2020-09-09
5+
slug: test-chinese
6+
image: helena-hertz-wWZzXlDpMog-unsplash.jpg
7+
categories:
8+
- Test
9+
- 測試
10+
---
11+
12+
## 正文測試(字體)
13+
14+
返扇花週認契適違込遷雇述請曜藤突扉直角

exampleSite/hugo.yaml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,28 @@ languages:
2121
sidebar:
2222
subtitle: Example description
2323
zh-cn:
24-
languageName: 中文
24+
languageName: 简体中文
2525
title: 演示站点
2626
weight: 2
2727
params:
2828
sidebar:
2929
subtitle: 演示说明
30+
31+
zh-tw:
32+
languageName: 正體中文
33+
title: 演示站點
34+
weight: 2
35+
params:
36+
sidebar:
37+
subtitle: 演示說明
38+
39+
ja:
40+
languageName: 日本語
41+
title: サンプルサイト
42+
weight: 2
43+
params:
44+
sidebar:
45+
subtitle: サンプル説明
3046
ar:
3147
languageName: عربي
3248
languagedirection: rtl

0 commit comments

Comments
 (0)