From fde4aeec8ab896b2d386e05fe94d25346fd67e71 Mon Sep 17 00:00:00 2001 From: Colin Date: Thu, 30 Apr 2020 22:56:28 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=BA=E6=9C=AC=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.toml | 49 +++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 47 insertions(+), 2 deletions(-) diff --git a/config.toml b/config.toml index e4b7418..90a9532 100644 --- a/config.toml +++ b/config.toml @@ -1,3 +1,48 @@ -baseURL = "http://example.org/" +baseurl = "/" languageCode = "en-us" -title = "My New Hugo Site" +theme = "hello-friend" +paginate = 7 + +[params] + # dir name of your blog content (default is `content/posts`) + contentTypeName = "posts" + # "light" or "dark" + defaultTheme = "light" + # if you set this to 0, only submenu trigger will be visible + showMenuItems = 2 + # Enable to show reading time in minutes for posts + showReadingTime = false + +[languages] + [languages.en] + title = "Colinx Blog" + subtitle = "Colin's Blog" + keywords = "" + copyright = "" + menuMore = "Show more" + writtenBy = "Written by" + readMore = "Read more" + readOtherPosts = "Read other posts" + newerPosts = "Newer posts" + olderPosts = "Older posts" + minuteReadingTime = "min read" + dateFormatSingle = "2006-01-02" + dateFormatList = "2006-01-02" + + [languages.en.params.logo] + logoText = "Colinx Blog" + logoHomeLink = "/" + # or + # + # path = "/img/your-example-logo.svg" + # alt = "Your example logo alt text" + + [languages.en.menu] + [[languages.en.menu.main]] + identifier = "about" + name = "About" + url = "/about" + [[languages.en.menu.main]] + identifier = "showcase" + name = "Showcase" + url = "/showcase"