mirror of
https://github.com/Colin-XKL/Colinx-Blog.git
synced 2026-01-12 02:31:27 +08:00
基本配置文件
This commit is contained in:
49
config.toml
49
config.toml
@@ -1,3 +1,48 @@
|
|||||||
baseURL = "http://example.org/"
|
baseurl = "/"
|
||||||
languageCode = "en-us"
|
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"
|
||||||
|
|||||||
Reference in New Issue
Block a user