Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions assets/scss/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,13 @@ $defaultTagColors: #fff, #fff, #fff, #fff, #fff;
--sys-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Droid Sans", "Helvetica Neue";
--zh-font-family: "PingFang SC", "Hiragino Sans GB", "Droid Sans Fallback", "Microsoft YaHei";

--base-font-family: "Lato", var(--sys-font-family), var(--zh-font-family), sans-serif;
--code-font-family: Menlo, Monaco, Consolas, "Courier New", var(--zh-font-family), monospace;
--base-font-family: "Lato", var(--sys-font-family), sans-serif;
--code-font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}

:root:where(:lang(zh):not(:is(:lang(zh-Hant), :lang(zh-TW), :lang(zh-HK), :lang(zh-MO)))) {
--base-font-family: "Lato", var(--sys-font-family), var(--zh-font-family, ""), sans-serif;
--code-font-family: Menlo, Monaco, Consolas, "Courier New", var(--zh-font-family, ""), monospace;
}

/*
Expand Down
8 changes: 8 additions & 0 deletions exampleSite/content/_index.ja.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
menu:
main:
name: ホーム
weight: -100
params:
icon: home
---
8 changes: 8 additions & 0 deletions exampleSite/content/_index.zh-tw.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
menu:
main:
name: 主頁
weight: -100
params:
icon: home
---
26 changes: 26 additions & 0 deletions exampleSite/content/post/chinese-test/index.ja.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
title: Japanese Test
description: これはサブタイトル
date: 2020-09-09
slug: test-chinese
image: helena-hertz-wWZzXlDpMog-unsplash.jpg
categories:
- Test
- テスト
---

## 本文テスト(フォント)

返扇花週認契適違込遷雇述請曜藤突扉直角

## 引用

> 国破れて山河在り\
> 城春にして草木深し\
> 時に感じては花にも涙を濺ぎ\
> 別れを恨んでは鳥にも心を驚かす
>
> 烽火三月に連なり\
> 家書万金に抵たる\
> 白頭掻けば更に短く\
> 渾べて簪に勝へざらんと欲す
6 changes: 5 additions & 1 deletion exampleSite/content/post/chinese-test/index.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,8 @@ categories:
![Photo by Helena Hertz on Unsplash](helena-hertz-wWZzXlDpMog-unsplash.jpg) ![Photo by Hudai Gayiran on Unsplash](hudai-gayiran-3Od_VKcDEAA-unsplash.jpg)
```

相册语法来自 [Typlog](https://typlog.com/)
相册语法来自 [Typlog](https://typlog.com/)

## 字体

返扇花週認契適違込遷雇述請曜藤突扉直角
14 changes: 14 additions & 0 deletions exampleSite/content/post/chinese-test/index.zh-tw.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: Chinese Test
description: 這是一個副標題
date: 2020-09-09
slug: test-chinese
image: helena-hertz-wWZzXlDpMog-unsplash.jpg
categories:
- Test
- 測試
---

## 正文測試(字體)

返扇花週認契適違込遷雇述請曜藤突扉直角
18 changes: 17 additions & 1 deletion exampleSite/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,28 @@ languages:
sidebar:
subtitle: Example description
zh-cn:
languageName: 中文
languageName: 简体中文
title: 演示站点
weight: 2
params:
sidebar:
subtitle: 演示说明

zh-tw:
languageName: 正體中文
title: 演示站點
weight: 2
params:
sidebar:
subtitle: 演示說明

ja:
languageName: 日本語
title: サンプルサイト
weight: 2
params:
sidebar:
subtitle: サンプル説明
ar:
languageName: عربي
languagedirection: rtl
Expand Down