feat: add homepage to contacts
This commit is contained in:
6
lib.typ
6
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
|
||||
|
||||
Reference in New Issue
Block a user