diff --git a/lib.typ b/lib.typ index 5a32c38..8769bc1 100644 --- a/lib.typ +++ b/lib.typ @@ -27,6 +27,7 @@ #let phone-icon = box(fa-icon("square-phone", fill: color-darknight)) #let email-icon = box(fa-icon("envelope", fill: color-darknight)) #let birth-icon = box(fa-icon("cake", fill: color-darknight)) +#let homepage-icon = box(fa-icon("home", fill: color-darknight)) /// Helpers @@ -324,6 +325,11 @@ #email-icon #box[#link("mailto:" + author.email)[#author.email]] ] + #if ("homepage" in author) [ + #separator + #homepage-icon + #box[#link(author.homepage)[#author.homepage]] + ] #if ("github" in author) [ #separator #github-icon diff --git a/template/coverletter.typ b/template/coverletter.typ index a75e1b0..6c5a436 100644 --- a/template/coverletter.typ +++ b/template/coverletter.typ @@ -5,6 +5,7 @@ firstname: "John", lastname: "Smith", email: "js@gmail.com", + homepage: "https://example.com", phone: "(+1) 111-111-1111", github: "DeveloperPaul123", linkedin: "John Smith", diff --git a/template/coverletter2.typ b/template/coverletter2.typ index 9286afa..5df4a9e 100644 --- a/template/coverletter2.typ +++ b/template/coverletter2.typ @@ -5,6 +5,7 @@ firstname: "John", lastname: "Smith", email: "js@gmail.com", + homepage: "https://example.com", phone: "(+1) 111-111-1111", github: "DeveloperPaul123", linkedin: "John Smith", diff --git a/template/resume.typ b/template/resume.typ index 3e13e10..6cba1c6 100644 --- a/template/resume.typ +++ b/template/resume.typ @@ -5,6 +5,7 @@ firstname: "John", lastname: "Smith", email: "js@example.com", + homepage: "https://example.com", phone: "(+1) 111-111-1111", github: "DeveloperPaul123", twitter: "typstapp",