-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcv.typ
More file actions
37 lines (34 loc) · 834 Bytes
/
Copy pathcv.typ
File metadata and controls
37 lines (34 loc) · 834 Bytes
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
// Imports
#import "@preview/brilliant-cv:3.3.0": cv
#let metadata = toml("./metadata.toml")
#let cv-language = sys.inputs.at("language", default: none)
#let metadata = if cv-language != none {
metadata + (language: cv-language)
} else {
metadata
}
#let import-modules(modules, lang: metadata.language) = {
for module in modules {
include {
"modules_" + lang + "/" + module + ".typ"
}
}
}
#show: cv.with(
metadata,
profile-photo: image("assets/avatar.png"),
// To use custom image icons in personal.info.custom-N entries,
// pass them here (keys must match the custom-N keys in metadata.toml):
// custom-icons: (
// "custom-1": image("assets/my-icon.png"),
// ),
)
#import-modules((
"education",
"professional",
"projects",
"campus",
"certificates",
"publications",
"skills",
))