summaryrefslogtreecommitdiffstats
path: root/exampleSite/config.toml
diff options
context:
space:
mode:
authoramzrk22020-04-16 15:34:39 +0800
committeramzrk22020-04-16 15:34:39 +0800
commiteaa3a325e566cc084d30ba56f53ecb3f8e80d9ab (patch)
treeb0480b915ce26df5545aecd3b807a7fedef10eba /exampleSite/config.toml
parentbbed6aaeab766901f9d425777a22ad3e767b7716 (diff)
downloadhugo-theme-fuji-eaa3a325e566cc084d30ba56f53ecb3f8e80d9ab.tar.gz
hugo-theme-fuji-eaa3a325e566cc084d30ba56f53ecb3f8e80d9ab.tar.bz2
hugo-theme-fuji-eaa3a325e566cc084d30ba56f53ecb3f8e80d9ab.zip
i18n support
Diffstat (limited to 'exampleSite/config.toml')
-rw-r--r--exampleSite/config.toml18
1 files changed, 11 insertions, 7 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index fe8d9d7..0f43f56 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -1,11 +1,15 @@
baseURL = "https://example.com"
title = "Fuji Demo"
-languageCode = "zh-Hans"
theme = "fuji"
-
hasCJKLanguage = true
+enableEmoji = true
disableKinds = ["RSS", "taxonomyTerm"]
+## Change this two to switch between different language
+## Now support: en, zh-hans, zh-hant, ja
+defaultContentLanguage = "en"
+languageCode = "en"
+
summaryLength = 100 # Custom cummary length, add <!--more--> in post file to custom split point
paginate = 10
@@ -34,7 +38,7 @@ paginate = 10
scrollTop = true
# License
- license = "知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议 (CC BY-NC-SA 4.0)"
+ license = "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0)"
licenseLink = "http://creativecommons.org/licenses/by-nc-sa/4.0/"
# Comments
@@ -65,15 +69,15 @@ paginate = 10
[menu]
[[menu.nav]]
- name = "主页"
+ name = "Home"
url = "/"
weight = 1
[[menu.nav]]
- name = "归档"
+ name = "Archives"
url = "/archives/"
weight = 2
[[menu.nav]]
- name = "关于"
+ name = "About"
url = "/about/"
weight = 3
@@ -82,6 +86,6 @@ paginate = 10
url = "https://github.com/amzrk2"
weight = 1
[[menu.link]]
- name = "哔哩哔哩"
+ name = "bilibili"
url = "https://space.bilibili.com/19767474"
weight = 2