Skip to content

Commit c4bb88b

Browse files
committed
add i18n support and website details
1 parent efae18d commit c4bb88b

16 files changed

Lines changed: 18 additions & 12 deletions

File tree

config/_default/languages.toml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
# Rename this file to languages.toml to enable multilingual support
2-
[en]
3-
languageName = "English"
4-
languagedirection = "ltr"
5-
title = "Example Site"
6-
weight = 1
7-
82
[zh-cn]
93
languageName = "简体中文"
104
languagedirection = "ltr"
11-
title = "示例网站"
5+
title = "CodeGlimpse的个人博客"
6+
contentDir = "content/zh-cn"
127
weight = 1
8+
[zh-cn.params]
9+
subtitle = "我的数字花园 🌱 - 基于 GitHub Pages 搭建的博客与文档。欢迎分享想法!"
10+
11+
[en]
12+
languageName = "English"
13+
languagedirection = "ltr"
14+
title = "Personal Blogs for CodeGlimpse"
15+
contentDir = "content/en"
16+
weight = 2
17+
[en.params]
18+
subtitle = "My digital garden 🌱 - A blog and docs built with GitHub Pages. Thoughts welcome!"

config/_default/menu.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
[[social]]
1111
identifier = "github"
1212
name = "GitHub"
13-
url = "https://github.com/CaiJimmy/hugo-theme-stack"
13+
url = "https://github.com/CodeGlimpse"
1414

1515
[social.params]
1616
icon = "brand-github"
1717

1818
[[social]]
19-
identifier = "twitter"
20-
name = "Twitter"
21-
url = "https://twitter.com"
19+
identifier = "email"
20+
name = "Email"
21+
url = "mailto:libochen@codeglimpse.top"
2222

2323
[social.params]
24-
icon = "brand-twitter"
24+
icon = "mail"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)