Skip to content

Commit

Permalink
Change Blog Theme Into Tale by Cayman (apache#6779)
Browse files Browse the repository at this point in the history
* Change Blog Theme Into Tale by Cayman

* Recover md files by Cayman
  • Loading branch information
CaymanHK authored Aug 11, 2020
1 parent 0be4e04 commit 2fafa9b
Show file tree
Hide file tree
Showing 270 changed files with 3,654 additions and 16,187 deletions.
32 changes: 27 additions & 5 deletions docs/blog/config.toml
Original file line number Diff line number Diff line change
@@ -1,26 +1,30 @@
baseURL = "https://shardingsphere.apache.org/blog/"
canonifyurls = true
languageCode = "en-us"
title = "ShardingSphere"
theme = "hugo-theme-learn"
theme = "tale4zh"
defaultContentLanguage = "en"
defaultContentLanguageInSubdir= true


[Languages]
[Languages.en]
title = "ShardingSphere"
title = "ShardingSphere - Blog"
weight = 1
languageName = "English"

[Languages.cn]
title = "ShardingSphere"
title = "ShardingSphere - 博客"
weight = 2
languageName = "简体中文"
languageName = "中文"


[params]
# Change default color scheme with a variant one. Can be "red", "blue", "green".
themeVariant = "black"
# Disable search function. It will hide search bar
disableSearch = true
enableLangChange = true


[markup]
[markup.tableOfContents]
Expand All @@ -31,3 +35,21 @@ startLevel = 2
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true


[menu]
[[Languages.en.menu.main]]
name = "Articles"
url = "/en/material/"

[[Languages.en.menu.main]]
name = "Videos"
url = "/en/videos/"

[[Languages.cn.menu.main]]
name = "文章"
url = "/cn/material/"

[[Languages.cn.menu.main]]
name = "视频"
url = "/cn/videos/"
Loading

0 comments on commit 2fafa9b

Please sign in to comment.