Make phone number a tel URL (#126)
This commit is contained in:
4
lib.typ
4
lib.typ
@@ -323,7 +323,7 @@
|
||||
]
|
||||
#if ("phone" in author) [
|
||||
#phone-icon
|
||||
#box[#text(author.phone)]
|
||||
#box[#link("tel:" + author.phone)[#author.phone]]
|
||||
#separator
|
||||
]
|
||||
#if ("email" in author) [
|
||||
@@ -697,7 +697,7 @@
|
||||
if ("phone" in author) {
|
||||
author_list.push[
|
||||
#phone-icon
|
||||
#box[#text(author.phone)]
|
||||
#box[#link("tel:" + author.phone)[#author.phone]]
|
||||
]
|
||||
}
|
||||
if ("email" in author) {
|
||||
|
||||
Reference in New Issue
Block a user