forked from shuosc/fly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.toml
112 lines (107 loc) · 3.13 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
baseURL = 'https://shuosc.github.io/fly'
title = 'SHUFly - 上海大学溯源手册'
theme = 'FixIt'
canonifyURLs = true # Fix GitHub Pages wrong path
# [en, zh-cn, fr, ...] 设置默认的语言
defaultContentLanguage = "zh-cn"
# 网站语言,仅在这里 CN 大写
languageCode = "zh-CN"
# 是否包括中日韩文字
hasCJKLanguage = true
[params]
# FixIt 主题版本
version = "0.2.X"
# Header config
[params.header]
# FixIt 0.2.13 | CHANGED desktop header mode ("sticky", "normal", "auto")
desktopMode = "sticky"
# FixIt 0.2.13 | CHANGED mobile header mode ("sticky", "normal", "auto")
mobileMode = "auto"
# FixIt 0.2.0 | NEW Header title config
[params.header.title]
# URL of the LOGO
logo = "/logo.webp"
# title name
name = "SHUFly"
# 中文主页信息设置
[languages.zh-cn.params.home]
# RSS 文章数目
rss = 10
# 主页个人信息
[languages.zh-cn.params.home.profile]
enable = true
# Gravatar 邮箱,用于优先在主页显示的头像
gravatarEmail = ""
# 主页显示头像的 URL
avatarURL = "/logo.webp"
# 主页显示的网站标题 (支持 HTML 格式)
title = "上海大学溯源手册"
# 是否为副标题显示打字机动画
typeit = true
# 是否显示社交账号
social = false
# 免责声明 (支持 HTML 格式)
disclaimer = ""
# 主页文章列表
[languages.zh-cn.params.home.posts]
enable = true
# 主页每页显示文章数量
paginate = 8
# 中文菜单配置
[languages.zh-cn.menu]
[[languages.zh-cn.menu.main]]
identifier = "posts"
# 父级菜单项的标识符 (identifier) since v0.2.14
parent = ""
# 你可以在名称 (允许 HTML 格式) 之前添加其他信息, 例如图标
pre = "<i class='fa-solid fa-archive fa-fw fa-sm'></i>"
# 你可以在名称 (允许 HTML 格式) 之后添加其他信息, 例如图标
post = ""
name = "所有文章"
url = "/posts/"
title = ""
weight = 1
[[languages.zh-cn.menu.main]]
identifier = "categories"
pre = "<i class='fa-solid fa-th fa-fw fa-sm'></i>"
post = ""
name = "分类"
url = "/categories/"
title = ""
weight = 2
[[languages.zh-cn.menu.main]]
identifier = "tags"
pre = "<i class='fa-solid fa-tags fa-fw fa-sm'></i>"
post = ""
name = "标签"
url = "/tags/"
title = ""
weight = 3
[[languages.zh-cn.menu.main]]
identifier = "friends"
pre = "<i class='fa-solid fa-users fa-fw fa-sm'></i>"
post = ""
name = "友链"
url = "/friends/"
title = "友情链接"
weight = 4
[[languages.zh-cn.menu.main]]
identifier = "about"
pre = "<i class='fa-solid fa-info-circle fa-fw fa-sm'></i>"
post = ""
name = "关于"
url = "/about/"
title = ""
weight = 5
[[languages.zh-cn.menu.main]]
identifier = "github"
pre = "<i class='fa-brands fa-github fa-fw'></i>"
post = ""
name = ""
url = "https://github.com/shuosc/fly"
title = "GitHub"
weight = 6
# Hugo 解析文档的配置
[markup]
# 语法高亮设置 (https://gohugo.io/content-management/syntax-highlighting)
[markup.highlight]