From 9e65c85a0d115769455974b88e1760820cbf40fe Mon Sep 17 00:00:00 2001 From: Huaiming Yu Date: Tue, 30 Jul 2024 15:29:18 +0800 Subject: [PATCH] Add orcid link --- lib.typ | 8 ++++++++ template/resume.typ | 1 + 2 files changed, 9 insertions(+) diff --git a/lib.typ b/lib.typ index 44371f6..5a32c38 100644 --- a/lib.typ +++ b/lib.typ @@ -21,6 +21,9 @@ #let google-scholar-icon = box( fa-icon("google-scholar", fill: color-darknight), ) +#let orcid-icon = box( + fa-icon("orcid", fill: color-darknight), +) #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)) @@ -344,6 +347,11 @@ #google-scholar-icon #box[#link("https://scholar.google.com/citations?user=" + author.scholar)[#fullname]] ] + #if ("orcid" in author) [ + #separator + #orcid-icon + #box[#link("https://orcid.org/" + author.orcid)[#author.orcid]] + ] ] ] ] diff --git a/template/resume.typ b/template/resume.typ index b53b386..3e13e10 100644 --- a/template/resume.typ +++ b/template/resume.typ @@ -9,6 +9,7 @@ github: "DeveloperPaul123", twitter: "typstapp", scholar: "", + orcid: "0000-0000-0000-000X", birth: "January 1, 1990", linkedin: "Example", address: "111 Example St. Example City, EX 11111",