diff --git a/lib.typ b/lib.typ index a69126c..4c42644 100644 --- a/lib.typ +++ b/lib.typ @@ -281,18 +281,26 @@ ) #block[ #align(horizon)[ - #phone-icon - #box[#text(author.phone)] - #separator - #email-icon - #box[#link("mailto:" + author.email)[#author.email]] - #separator - #github-icon - #box[#link("https://github.com/" + author.github)[#author.github]] - #separator - #linkedin-icon - #box[ - #link("https://www.linkedin.com/in/" + author.linkedin)[#author.firstname #author.lastname] + #if author.phone != none [ + #phone-icon + #box[#text(author.phone)] + #separator + ] + #if author.email != none [ + #email-icon + #box[#link("mailto:" + author.email)[#author.email]] + ] + #if author.github != none [ + #separator + #github-icon + #box[#link("https://github.com/" + author.github)[#author.github]] + ] + #if author.linkedin != none [ + #separator + #linkedin-icon + #box[ + #link("https://www.linkedin.com/in/" + author.linkedin)[#author.firstname #author.lastname] + ] ] ] ] @@ -531,18 +539,26 @@ #stack( dir: ltr, spacing: 0.5em, - phone-icon, - box[#text(author.phone)], - separator, - email-icon, - box[#link("mailto:" + author.email)[#author.email]], - separator, - github-icon, - box[#link("https://github.com/" + author.github)[#author.github]], - separator, - linkedin-icon, - box[ - #link("https://www.linkedin.com/in/" + author.linkedin)[#author.firstname #author.lastname] + if author.phone != none [ + #phone-icon + #box[#text(author.phone)] + #separator + ], + if author.email != none [ + #email-icon + #box[#link("mailto:" + author.email)[#author.email]] + ], + if author.github != none [ + #separator + #github-icon + #box[#link("https://github.com/" + author.github)[#author.github]] + ], + if author.linkedin != none [ + #separator + #linkedin-icon + #box[ + #link("https://www.linkedin.com/in/" + author.linkedin)[#author.firstname #author.lastname] + ] ], ) ] diff --git a/template/resume.typ b/template/resume.typ index 4d1b9fc..f7a0af2 100644 --- a/template/resume.typ +++ b/template/resume.typ @@ -16,7 +16,7 @@ ), ), date: datetime.today().display(), - colored-headers: true + colored-headers: true, ) = Experience