This repository has been archived by the owner on Dec 14, 2023. It is now read-only.
forked from prepas-mp2i/prepas-mp2i.fr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.toml
144 lines (118 loc) · 3.08 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
baseURL = "https://prepas-mp2i.github.io"
title = "PREPAS MP2I"
theme = "LoveIt"
defaultContentLanguage = "fr"
enableRobotsTXT = 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
[[menu.main]]
name = "Contact"
url = "/contact/"
weight = 5
[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.github.io/"
dateFormat = "02/01/2006"
[params.app]
title = "PREPAS 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' 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="https://creativecommons.org/licenses/by-nc/4.0/"
target="_blank">CC BY-NC 4.0</a>"""
[params.section]
paginate = 4
dateFormat = "01-02"
[params.list]
paginate = 4
dateFormat = "01-02"
[params.home]
[params.home.profile]
enable = true
avatarURL = "/images/logo.png"
title = "PREPAS 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.github.io"
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
[Permalinks]
posts = ":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"]