feat(resume): Choose experience display by client,type,chronological
Can be set by setting the point in 'main' array to 'experience_by_client', 'experience_by_type' or just 'experience' respectively.
This commit is contained in:
parent
0dd715d806
commit
f60991344d
1 changed files with 11 additions and 2 deletions
13
resume.typ
13
resume.typ
|
|
@ -33,7 +33,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#let resume(contents, main: ("experience", "education"), sidebar: ("volunteering", "languages", "skills")) = {
|
#let resume(contents, main: ("experience_by_type", "education"), sidebar: ("volunteering", "languages", "skills")) = {
|
||||||
show: style
|
show: style
|
||||||
show: smartypants
|
show: smartypants
|
||||||
set text(lang: lang)
|
set text(lang: lang)
|
||||||
|
|
@ -77,11 +77,20 @@
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
if "experience" in main and "experience" in contents {
|
if "experience_by_type" in main and "experience" in contents {
|
||||||
let title = (en: "Professional Experience", de: "Berufserfahrung").at(lang)
|
let title = (en: "Professional Experience", de: "Berufserfahrung").at(lang)
|
||||||
section(title: title)[]
|
section(title: title)[]
|
||||||
by_experience_type(experience: contents.experience, type: contents.experience_types)
|
by_experience_type(experience: contents.experience, type: contents.experience_types)
|
||||||
}
|
}
|
||||||
|
if "experience_by_client" in main and "experience" in contents {
|
||||||
|
let title = (en: "Professional Experience", de: "Berufserfahrung").at(lang)
|
||||||
|
section(title: title)[]
|
||||||
|
by_client(experience: contents.experience)
|
||||||
|
}
|
||||||
|
if "experience" in main and "experience" in contents {
|
||||||
|
let title = (en: "Professional Experience", de: "Berufserfahrung").at(lang)
|
||||||
|
section(title: title, entries: contents.experience)[]
|
||||||
|
}
|
||||||
|
|
||||||
if "education" in main and "education" in contents {
|
if "education" in main and "education" in contents {
|
||||||
let title = (en: "Education", de: "Ausbildung").at(lang)
|
let title = (en: "Education", de: "Ausbildung").at(lang)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue