From 51afd7a37c1f3801284ce83509aa4097d226d4a9 Mon Sep 17 00:00:00 2001 From: Colin Date: Thu, 30 Apr 2020 23:27:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=85=A5=E4=B8=AD=E6=96=87=E7=BF=BB?= =?UTF-8?q?=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.toml | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/config.toml b/config.toml index 541df40..9acd86d 100644 --- a/config.toml +++ b/config.toml @@ -1,5 +1,7 @@ baseurl = "/" languageCode = "en-us" +defaultContentLanguage = "zh-cn" +defaultContentLanguageInSubdir = true theme = "hello-friend" paginate = 7 @@ -56,4 +58,45 @@ paginate = 7 identifier = "about" name = "About" url = "/about" + + [languages.zh-cn] + title = "Colinx Blog" + subtitle = "Colin的个人博客" + keywords = "" + copyright = "" + menuMore = "显示更多" + writtenBy = "作者" + readMore = "点击阅读" + readOtherPosts = "阅读更多" + newerPosts = "上一页" + olderPosts = "下一页" + minuteReadingTime = "分钟" + dateFormatSingle = "2006-01-02" + dateFormatList = "2006-01-02" + + [languages.zh-cn.params.logo] + logoText = "Colinx Blog" + logoHomeLink = "/" + # or + # + # path = "/img/your-example-logo.svg" + # alt = "Your example logo alt text" + + [languages.zh-cn.menu] + [[languages.zh-cn.menu.main]] + identifier = "archive" + name = "归档" + url = "/archive" + [[languages.zh-cn.menu.main]] + identifier = "categories" + name = "分类" + url = "/categories" + [[languages.zh-cn.menu.main]] + identifier = "tags" + name = "标签" + url = "/tags" + [[languages.zh-cn.menu.main]] + identifier = "about" + name = "关于" + url = "/about"