Make phone number a tel URL (#126)

This commit is contained in:
Pedro Costa
2025-07-17 11:44:22 -03:00
committed by GitHub
parent 24ed5bef9f
commit 13533bc0a7

View File

@@ -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) {