Skip to content

Commit

Permalink
Add ORCID (#14)
Browse files Browse the repository at this point in the history
* use prefix correctly for contact-item

* add orcid social link
  • Loading branch information
Moelf authored Nov 30, 2024
1 parent 89665f4 commit 7a666a0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/resume.typ
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#import "@preview/scienceicons:0.0.6": orcid-icon

#let resume(
author: "",
pronouns: "",
Expand All @@ -7,6 +9,7 @@
linkedin: "",
phone: "",
personal-site: "",
orcid: "",
accent-color: "#000000",
font: "New Computer Modern",
body,
Expand Down Expand Up @@ -67,7 +70,7 @@
let contact-item(value, prefix: "", link-type: "") = {
if value != "" {
if link-type != "" {
link(link-type + value)[#value]
link(link-type + value)[#(prefix + value)]
} else {
value
}
Expand All @@ -87,6 +90,7 @@
contact-item(github, link-type: "https://"),
contact-item(linkedin, link-type: "https://"),
contact-item(personal-site, link-type: "https://"),
contact-item(orcid, prefix:[#orcid-icon(color: rgb("#AECD54"))orcid.org/], link-type: "https://orcid.org/"),
)
items.filter(x => x != none).join(" | ")
}
Expand Down

0 comments on commit 7a666a0

Please sign in to comment.