Compare commits
No commits in common. "349119e6d4959c216da03627cc0a085a0b78cde3" and "ab25f44b58c826d4301c72839d82314b82e76beb" have entirely different histories.
349119e6d4
...
ab25f44b58
4 changed files with 23 additions and 31 deletions
|
|
@ -1,7 +1,7 @@
|
|||
about:
|
||||
fullname: Marty Oehme
|
||||
contact:
|
||||
- text: Berlin, Germany
|
||||
- text: Pichelsdorfer Str. 133, 13595 Berlin, Germany
|
||||
icon:
|
||||
- text: contact@martyoeh.me
|
||||
icon:
|
||||
|
|
@ -36,7 +36,7 @@ summary:
|
|||
|
||||
experience_types:
|
||||
1:
|
||||
de: Selbstständiger Consultant Forschung
|
||||
de: Selbstständiger Schriftsteller Forschung
|
||||
en: Independent research consultant
|
||||
2:
|
||||
de: Honorararbeit
|
||||
|
|
|
|||
27
lib/lib.typ
27
lib/lib.typ
|
|
@ -64,10 +64,7 @@
|
|||
block(inset: 5%, width: 85%, text(fill: luma(150), body))
|
||||
}
|
||||
|
||||
#let entry(item: (), show_sublists: true) = {
|
||||
if "hidden" in item and item.hidden == true {
|
||||
return
|
||||
}
|
||||
#let entry(item: ()) = {
|
||||
if "title" in item {
|
||||
[*#item.title.at(lang)*]
|
||||
}
|
||||
|
|
@ -81,17 +78,15 @@
|
|||
if "date" in item {
|
||||
[ _#item.date.at(lang)_ \ ]
|
||||
}
|
||||
if show_sublists == true {
|
||||
if "bullets" in item {
|
||||
for bullet in item.bullets {
|
||||
[- #bullet.at(lang)]
|
||||
}
|
||||
if "bullets" in item {
|
||||
for bullet in item.bullets {
|
||||
[- #bullet.at(lang)]
|
||||
}
|
||||
if "modules" in item {
|
||||
subdued[Relevante Module:]
|
||||
for bullet in item.modules {
|
||||
subdued[ - #bullet.at(lang)]
|
||||
}
|
||||
}
|
||||
if "modules" in item {
|
||||
subdued[Relevante Module:]
|
||||
for bullet in item.modules {
|
||||
subdued[ - #bullet.at(lang)]
|
||||
}
|
||||
}
|
||||
if "publication" in item {
|
||||
|
|
@ -131,11 +126,11 @@
|
|||
horizon_line()
|
||||
};
|
||||
|
||||
#let section(title: "Section", entries: (), longform: true, body) = {
|
||||
#let section(title: "Section", entries: (), body) = {
|
||||
section_header(title)
|
||||
if body == none or body == [] {
|
||||
for e in entries {
|
||||
entry(item: e, show_sublists: longform)
|
||||
entry(item: e)
|
||||
}
|
||||
} else {
|
||||
body
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#import "lib.typ": *
|
||||
#import "wrapit.typ": *
|
||||
|
||||
#let create_body(main: (), contents: (:), longform: true) = {
|
||||
#let create_body(main: (), contents: (:)) = {
|
||||
for item in main {
|
||||
if item == "summary" and "summary" in contents {
|
||||
section(
|
||||
|
|
@ -9,37 +9,36 @@
|
|||
{
|
||||
contents.summary.at(lang)
|
||||
},
|
||||
longform: longform
|
||||
)
|
||||
}
|
||||
|
||||
if item == "experience_by_type" and "experience" in contents {
|
||||
let title = (en: "Professional Experience", de: "Berufserfahrung").at(lang)
|
||||
section(title: title, longform: longform)[]
|
||||
section(title: title)[]
|
||||
by_experience_type(experience: contents.experience, type: contents.experience_types)
|
||||
}
|
||||
if item == "experience_by_client" and "experience" in contents {
|
||||
let title = (en: "Professional Experience", de: "Berufserfahrung").at(lang)
|
||||
section(title: title, longform: longform)[]
|
||||
section(title: title)[]
|
||||
by_client(experience: contents.experience)
|
||||
}
|
||||
if item == "experience" and "experience" in contents {
|
||||
let title = (en: "Professional Experience", de: "Berufserfahrung").at(lang)
|
||||
section(title: title, entries: contents.experience, longform: longform)[]
|
||||
section(title: title, entries: contents.experience)[]
|
||||
}
|
||||
|
||||
if item == "education" and "education" in contents {
|
||||
let title = (en: "Education", de: "Ausbildung").at(lang)
|
||||
section(title: title, entries: contents.thesis + contents.education, longform: longform)[]
|
||||
section(title: title, entries: contents.thesis + contents.education)[]
|
||||
}
|
||||
|
||||
if item == "volunteering" and "volunteering" in contents {
|
||||
let title = (en: "Volunteer Work", de: "Ehrenamt").at(lang)
|
||||
section(title: title, entries: contents.volunteering, longform: longform)[]
|
||||
section(title: title, entries: contents.volunteering)[]
|
||||
}
|
||||
if item == "digital" and "digital" in contents {
|
||||
let title = (en: "Digital Organization", de: "Digitales Schaffen").at(lang)
|
||||
section(title: title, entries: contents.digital, longform: longform)[]
|
||||
section(title: title, entries: contents.digital)[]
|
||||
}
|
||||
|
||||
if item == "skills" and "skills" in contents {
|
||||
|
|
@ -49,7 +48,6 @@
|
|||
{
|
||||
sidebar_entry(item: contents.skills)
|
||||
},
|
||||
longform: longform
|
||||
)
|
||||
}
|
||||
|
||||
|
|
@ -60,7 +58,6 @@
|
|||
{
|
||||
sidebar_entry(item: contents.languages)
|
||||
},
|
||||
longform: longform
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
@ -94,7 +91,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
#let resume(contents, main: ("experience_by_type", "education"), sidebar: ("volunteering", "languages", "skills"), longform:true) = {
|
||||
#let resume(contents, main: ("experience_by_type", "education"), sidebar: ("volunteering", "languages", "skills")) = {
|
||||
show: style
|
||||
set text(lang: lang)
|
||||
|
||||
|
|
@ -161,7 +158,7 @@
|
|||
} else { [] }
|
||||
wrap-content(
|
||||
sb,
|
||||
create_body(main: main, contents: contents, longform: longform),
|
||||
create_body(main: main, contents: contents),
|
||||
align: top + right,
|
||||
columns: (auto, 30%),
|
||||
)
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
#import "lib/resume.typ": resume
|
||||
|
||||
#resume.with(longform: false)(yaml("content.yml"))
|
||||
#resume.with()(yaml("content.yml"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue