From febdcb9796965b6a9e4a262bb16dfb13a54447ce Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Mon, 25 Aug 2025 11:33:22 +0200 Subject: [PATCH 1/4] feat(lib): Add entry hiding with content boolean Add the simple value `hidden: true` to any entry (experience, education, volunteering, skills, language, etc) and it will not be displayed on the final output. --- lib/lib.typ | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/lib/lib.typ b/lib/lib.typ index d0000fc..661248d 100644 --- a/lib/lib.typ +++ b/lib/lib.typ @@ -64,7 +64,10 @@ block(inset: 5%, width: 85%, text(fill: luma(150), body)) } -#let entry(item: ()) = { +#let entry(item: (), show_sublists: true) = { + if "hidden" in item and item.hidden == true { + return + } if "title" in item { [*#item.title.at(lang)*] } @@ -78,15 +81,17 @@ if "date" in item { [ _#item.date.at(lang)_ \ ] } - if "bullets" in item { - for bullet in item.bullets { - [- #bullet.at(lang)] + if show_sublists == true { + 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 { From 8972f3c687f1720141557d9fbb3ab3e25e7093ad Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Mon, 15 Sep 2025 10:19:49 +0200 Subject: [PATCH 2/4] fix(content): Generalize mainbranch location to Berlin --- content.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content.yml b/content.yml index c3d0781..c84c49a 100644 --- a/content.yml +++ b/content.yml @@ -1,7 +1,7 @@ about: fullname: Marty Oehme contact: - - text: Pichelsdorfer Str. 133, 13595 Berlin, Germany + - text: Berlin, Germany icon:  - text: contact@martyoeh.me icon:  From 16b561ff86aa49400c6452a751f13e19ce409ce9 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Mon, 15 Sep 2025 10:19:49 +0200 Subject: [PATCH 3/4] fix(content): Refine German Consultancy description While the official title was accurate, this provides a more fitting description of my day-to-day activities. --- content.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content.yml b/content.yml index c84c49a..c33ebeb 100644 --- a/content.yml +++ b/content.yml @@ -36,7 +36,7 @@ summary: experience_types: 1: - de: Selbstständiger Schriftsteller Forschung + de: Selbstständiger Consultant Forschung en: Independent research consultant 2: de: Honorararbeit From 349119e6d4959c216da03627cc0a085a0b78cde3 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Mon, 15 Sep 2025 10:19:49 +0200 Subject: [PATCH 4/4] feat(resume): Allow toggling longform for main body contents --- lib/lib.typ | 4 ++-- lib/resume.typ | 21 ++++++++++++--------- resume.typ | 2 +- 3 files changed, 15 insertions(+), 12 deletions(-) diff --git a/lib/lib.typ b/lib/lib.typ index 661248d..4eea33b 100644 --- a/lib/lib.typ +++ b/lib/lib.typ @@ -131,11 +131,11 @@ horizon_line() }; -#let section(title: "Section", entries: (), body) = { +#let section(title: "Section", entries: (), longform: true, body) = { section_header(title) if body == none or body == [] { for e in entries { - entry(item: e) + entry(item: e, show_sublists: longform) } } else { body diff --git a/lib/resume.typ b/lib/resume.typ index 3870bef..2a7a087 100644 --- a/lib/resume.typ +++ b/lib/resume.typ @@ -1,7 +1,7 @@ #import "lib.typ": * #import "wrapit.typ": * -#let create_body(main: (), contents: (:)) = { +#let create_body(main: (), contents: (:), longform: true) = { for item in main { if item == "summary" and "summary" in contents { section( @@ -9,36 +9,37 @@ { 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)[] + section(title: title, longform: longform)[] 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)[] + section(title: title, longform: longform)[] 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)[] + section(title: title, entries: contents.experience, longform: longform)[] } if item == "education" and "education" in contents { let title = (en: "Education", de: "Ausbildung").at(lang) - section(title: title, entries: contents.thesis + contents.education)[] + section(title: title, entries: contents.thesis + contents.education, longform: longform)[] } if item == "volunteering" and "volunteering" in contents { let title = (en: "Volunteer Work", de: "Ehrenamt").at(lang) - section(title: title, entries: contents.volunteering)[] + section(title: title, entries: contents.volunteering, longform: longform)[] } if item == "digital" and "digital" in contents { let title = (en: "Digital Organization", de: "Digitales Schaffen").at(lang) - section(title: title, entries: contents.digital)[] + section(title: title, entries: contents.digital, longform: longform)[] } if item == "skills" and "skills" in contents { @@ -48,6 +49,7 @@ { sidebar_entry(item: contents.skills) }, + longform: longform ) } @@ -58,6 +60,7 @@ { sidebar_entry(item: contents.languages) }, + longform: longform ) } } @@ -91,7 +94,7 @@ } } -#let resume(contents, main: ("experience_by_type", "education"), sidebar: ("volunteering", "languages", "skills")) = { +#let resume(contents, main: ("experience_by_type", "education"), sidebar: ("volunteering", "languages", "skills"), longform:true) = { show: style set text(lang: lang) @@ -158,7 +161,7 @@ } else { [] } wrap-content( sb, - create_body(main: main, contents: contents), + create_body(main: main, contents: contents, longform: longform), align: top + right, columns: (auto, 30%), ) diff --git a/resume.typ b/resume.typ index f94862c..66ed9e5 100644 --- a/resume.typ +++ b/resume.typ @@ -1,3 +1,3 @@ #import "lib/resume.typ": resume -#resume.with()(yaml("content.yml")) +#resume.with(longform: false)(yaml("content.yml"))