Merge pull request #51 from hmyuuu/orcid
Add ORCID links with icons in the header
This commit is contained in:
8
lib.typ
8
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]]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user