forked from prepas-mp2i/prepas-mp2i.fr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.toml
172 lines (141 loc) · 3.63 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
baseURL = "/"
title = "Prépas MP2I"
theme = "LoveIt"
defaultContentLanguage = "fr"
languageCode = "fr"
enableRobotsTXT = true
enableGitInfo = true
[menu]
[[menu.main]]
name = "MP2I"
url = "/mp2i/"
weight = 1
[[menu.main]]
name = "Informatique"
url = "/informatique/"
weight = 2
[[menu.main]]
name = "Admission"
url = "/admission/"
weight = 3
[[menu.main]]
name = "Ressources"
url = "/ressources/"
weight = 4
# EVENT
[[menu.main]]
name = "Forum"
url = "/forum/"
weight = 5
[[menu.main]]
name = "F.A.Q"
url = "/faq/"
weight = 6
[[menu.main]]
name = "Contact"
url = "/contact/"
weight = 7
[security]
[security.exec]
allow = ['^dart-sass-embedded$', '^go$', '^npx$', '^postcss$', 'rst2html.py']
[params]
version = "0.2.X"
description = "Site des classes préparatoires MP2I"
keywords = ["Theme", "Hugo", "MP2I", "Prépa"]
defaultTheme = "auto"
gitRepo = "https://github.com/prepas-mp2i/prepas-mp2i.fr/"
dateFormat = "02/01/2006"
[params.app]
title = "Prépas MP2I"
noFavicon = false
themeColor = "#ffffff"
iconColor = "#5bbad5"
tileColor = "#da532c"
[params.search]
enable = true
type = "lunr"
maxResultLength = 10
snippetLength = 30
highlightTag = "em"
[params.header]
desktopMode = "fixed"
mobileMode = "auto"
[params.header.title]
logo = ""
name = "PREPAS MP2I"
# add extra information before the name (HTML supported), such as icons
pre = """<img src='/images/logo.png' alt='Logo' height=25px
style='margin-bottom:-5px;margin-right:5px'>"""
typeit = true # typeit animation for title name
[params.footer]
enable = true
hugo = false
copyright = true
author = true
since = 2021
license = """<a rel="license external nofollow noopener noreffer"
href="/mentions-legales/"
target="_blank">Mentions légales</a>"""
[params.section]
paginate = 10
dateFormat = "01-02"
[params.list]
paginate = 10
dateFormat = "01-02"
[params.home]
[params.home.profile]
enable = true
avatarURL = "/images/logo.png"
title = "Prépas MP2I"
subtitle = "Bienvenue sur le site des classes préparatoires MP2I !"
typeit = true
social = true
disclaimer = ""
[params.home.posts]
enable = true
paginate = 4
[params.social]
GitHub = "prepas-mp2i/prepas-mp2i.fr"
Email = "[email protected]"
[params.page]
hiddenFromHomePage = false
hiddenFromSearch = false
fontawesome = true
[params.analytics]
enable = true
# Google Analytics
[params.analytics.google]
id = "G-7SXBL516N1" # add your tracking id
anonymizeIP = false
[params.cookieconsent]
enable = false
[frontmatter]
date = ['date', 'publishDate', 'lastmod']
lastmod = [':git', 'lastmod', 'date', 'publishDate']
publishDate = ['publishDate', 'date']
[Permalinks]
posts = '/posts/:slug'
pages = '/:filename'
[author]
name = " Étudiants en MP2I"
email = "[email protected]"
[markup]
[markup.highlight]
# false is a necessary configuration (https://github.com/dillonzq/LoveIt/issues/158)
noClasses = false
[markup.goldmark.renderer]
unsafe = true
[mediaTypes]
[mediaTypes."text/plain"]
suffixes = ["md"]
# Options to make output .md files
[outputFormats.MarkDown]
mediaType = "text/plain"
isPlainText = true
[outputs]
home = ["HTML", "RSS", "JSON"]
page = ["HTML", "MarkDown"]
[sitemap]
changefreq = "weekly"
filename = "sitemap.xml"
priority = 0.5