-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathconfig.toml
87 lines (75 loc) · 1.97 KB
/
config.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# 基本信息
baseURL = "https://elizen.me/"
title = "Elizen"
theme = "ivy"
disqusShortname = "elizen"
hasCJKLanguage = true
enableEmoji = true
footnotereturnlinkcontents = "↩"
# Hugo 多语言配置
defaultContentLanguage = "zh" # 设定默认语言
[languages]
# 中文
[languages.zh]
languageName = "中文"
languageCode = "zh-cn"
weight = 1
# 可以在这里继续添加或覆盖一些专属于中文站点的配置,比如菜单、Param 等。
# 英文
[languages.en]
languageName = "English"
languageCode = "en-us"
weight = 2
# 同理,也可以在这里添加或覆盖一些只在英文版本里用到的配置
# URL 结构
[permalinks]
posts = "/posts/:year/:month/:slug/"
newsletter = "/newsletter/:year/:month/:slug/"
journal = "/journal/:slug/"
# 菜单配置(如果你想对菜单做多语言区分,可分别放在 [languages.zh.menu] 和 [languages.en.menu])
[menu]
[[menu.main]]
name="电影"
url="/movies/"
weight="1"
[[menu.main]]
name="阅读"
url="/books/"
weight="2"
[[menu.main]]
name="书目"
url="/bibliography/"
weight="3"
[[menu.main]]
name="归档"
url="/posts/"
weight="4"
[[menu.main]]
name="通讯"
url="/newsletter/"
weight="5"
[[menu.main]]
name="孩童"
url="/kids/"
weight="6"
[params]
# description about this website
description = "There is only one thing in the world worse than being talked about, and that is not being talked about."
footer = "© [Elizen](https://elizen.me) | since 2009"
highlightjsCDN = "//cdn.bootcss.com"
highlightjsLang = ["r", "yaml", "tex"]
highlightjsTheme = "github"
highlightjsVersion = "9.12.0"
[params.twikoo]
enable = true
[blackfriday]
extensionsmask = [ "noIntraEmphasis" ]
fractions = false
[markup.highlight]
codeFences = false
[markup.goldmark.renderer]
unsafe = true
[markup.goldmark.parser]
autoHeadingIDType = "blackfriday"
[markup.tableOfContents]
startLevel = 1