-
Notifications
You must be signed in to change notification settings - Fork 40
/
config.toml
113 lines (97 loc) · 3.04 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
113
baseURL = 'https://acmer.info'
languageCode = 'zh-cn'
title = 'ACMer.info'
DefaultContentLanguage = "zh-cn"
theme = "hugo-theme-codex"
copyright = "Licensed under CC BY-NC-SA 4.0 | © {year} ACMer.info and All Contributors"
disableKinds = ["sitemap", "RSS", "taxonomy"]
ignoreErrors = ["error-disable-taxonomy"]
# Optional params
[params]
# Follow the Hugo date/time format reference here:
# https://gohugo.io/functions/format/#gos-layout-string
dateFormat = "Jan 2 2006"
# Links to your social accounts, comment/uncomment as needed. Icons will be displayed for those specified.
# twitter = "https://twitter.com/<your handle>"
# github = "https://github.com/<your handle>"
# email = "mailto:<your email>"
# mastodon = "https://mastodon.social/@nickname"
# facebook = "https://facebook.com/<your handle>"
# gitlab = "https://gitlab.com/<your handle>"
# instagram = "https://instagram.com/<your handle>"
# linkedin = "<link to your profile>"
# youtube = "https://www.youtube.com/channel/<your channel>"
# Titles for your icons (shown as tooltips), and also their display order.
# Currently, these icons are supported:
# "Twitter", "GitHub", "Email", "Mastodon", "Facebook", "GitLab", "Instagram", "LinkedIn", "YouTube"
# iconOrder = ["Twitter", "GitHub"]
# Metadata for Twitter cards, defaults to params.twitter
# twitterSite = "@<your handle>"
# twitterAuthor = "@<your handle>"
# Set to true to display page title in table of contents in blog posts.
showPageTitleInTOC = false
# This disables Hugo's default syntax highlighting in favor
# of prismjs. If you wish to use Hugo's default syntax highlighting
# over prismjs, remove this. You will also need to remove the prismjs
# vendor script in layouts/blog/single.html.
[markup]
[markup.highlight]
codeFences = false
# Set to false to disallow raw HTML in markdown files
[markup.goldmark.renderer]
unsafe = true
# Controls the navigation
[[menu.main]]
identifier = "about"
name = "关于"
title = "关于"
url = "/"
weight = 1
[[menu.main]]
identifier = "groups"
name = "群组"
title = "群组"
url = "/groups"
weight = 2
[[menu.main]]
identifier = "ojs"
name = "测评系统"
title = "测评系统"
url = "/ojs"
weight = 3
[[menu.main]]
identifier = "blogs"
name = "选手博客"
title = "选手博客"
url = "/blogs"
weight = 4
[[menu.main]]
identifier = "studyMaterials"
name = "学习资料"
title = "学习资料"
url = "/studyMaterials"
weight = 5
[[menu.main]]
identifier = "cpcfinder"
name = "cpcfinder"
title = "cpcfinder"
url = "https://cpcfinder.com/"
weight = 6
# [[menu.main]]
# identifier = "chronicle"
# name = "XCPC编年史"
# title = "XCPC编年史"
# url = "/chronicle"
# weight = 6
# [[menu.main]]
# identifier = "Board"
# name = "XCPC比赛榜单"
# title = "XCPC比赛榜单"
# url = "https://board.xcpcio.com/"
# weight = 7
# [[menu.main]]
# identifier = "lanqiao-contest"
# name = "蓝桥双周赛"
# title = "蓝桥双周赛"
# url = "/lanqiao"
# weight = 8