基本配置文件

This commit is contained in:
Colin
2020-04-30 22:56:28 +08:00
parent dac351d9d8
commit fde4aeec8a

View File

@@ -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"