Skip to content

Commit

Permalink
Add shortcut for Chinese language
Browse files Browse the repository at this point in the history
  • Loading branch information
LinuxSuRen committed Dec 6, 2019
1 parent 695460d commit be4f622
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions exampleSite/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,25 @@ weight = 30
title = "Hugo 主题的 Learn 文档"
weight = 3
languageName = "简体中文"

[[Languages.zh.menu.shortcuts]]
name = "<i class='fab fa-fw fa-github'></i> GitHub 仓库"
identifier = "ds"
url = "https://github.com/matcornic/hugo-theme-learn"
weight = 10

[[Languages.zh.menu.shortcuts]]
name = "<i class='fas fa-fw fa-camera'></i> 展示区"
url = "/showcase"
weight = 11

[[Languages.zh.menu.shortcuts]]
name = "<i class='fas fa-fw fa-bookmark'></i> Hugo 文档"
identifier = "hugodoc"
url = "https://gohugo.io/"
weight = 20

[[Languages.zh.menu.shortcuts]]
name = "<i class='fas fa-fw fa-bullhorn'></i> 鸣谢"
url = "/credits"
weight = 30

0 comments on commit be4f622

Please sign in to comment.