Skip to content

Commit 8f7e321

Browse files
committed
init Simplified Chinese blog
1 parent 0d78601 commit 8f7e321

5 files changed

Lines changed: 75 additions & 0 deletions

File tree

content/zh-cn/_index.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: Home
5+
weight: 1
6+
params:
7+
icon: home
8+
---
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: Example Category
3+
description: A description of this category
4+
image:
5+
6+
# Badge style
7+
style:
8+
background: "#2a9d8f"
9+
color: "#fff"
10+
---
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
title: "Archives"
3+
date: 2022-03-06
4+
layout: "archives"
5+
slug: "archives"
6+
menu:
7+
main:
8+
weight: 2
9+
params:
10+
icon: archives
11+
---

content/zh-cn/page/links/index.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
title: Links
3+
links:
4+
- title: GitHub
5+
description: GitHub is the world's largest software development platform.
6+
website: https://github.com
7+
image: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png
8+
menu:
9+
main:
10+
weight: 4
11+
params:
12+
icon: link
13+
14+
comments: false
15+
---
16+
17+
To use this feature, add `links` section to frontmatter.
18+
19+
This page's frontmatter:
20+
21+
```yaml
22+
links:
23+
- title: GitHub
24+
description: GitHub is the world's largest software development platform.
25+
website: https://github.com
26+
image: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png
27+
- title: TypeScript
28+
description: TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.
29+
website: https://www.typescriptlang.org
30+
image: ts-logo-128.jpg
31+
```
32+
33+
`image` field accepts both local and external images.

content/zh-cn/page/search/index.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: "Search"
3+
slug: "search"
4+
layout: "search"
5+
outputs:
6+
- html
7+
- json
8+
menu:
9+
main:
10+
weight: 3
11+
params:
12+
icon: search
13+
---

0 commit comments

Comments
 (0)