Skip to content

Commit 8412629

Browse files
author
Paul T
authored
feat: add support for bsky and mastodon (#149)
1 parent bd46a82 commit 8412629

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

lib.typ

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
#let gitlab-icon = box(fa-icon("gitlab", fill: color-darknight))
1919
#let bitbucket-icon = box(fa-icon("bitbucket", fill: color-darknight))
2020
#let twitter-icon = box(fa-icon("twitter", fill: color-darknight))
21+
#let bluesky-icon = box(fa-icon("bluesky", fill: color-darknight))
22+
#let mastodon-icon = box(fa-icon("mastodon", fill: color-darknight))
2123
#let google-scholar-icon = box(fa-icon("google-scholar", fill: color-darknight))
2224
#let orcid-icon = box(fa-icon("orcid", fill: color-darknight))
2325
#let phone-icon = box(fa-icon("square-phone", fill: color-darknight))
@@ -432,6 +434,22 @@
432434
),
433435
)
434436
}
437+
if "bluesky" in author {
438+
items.push(
439+
contact-item(
440+
(text: "@" + author.bluesky, icon: bluesky-icon, link: author.bluesky),
441+
link-prefix: "https://bsky.app/profile/",
442+
)
443+
)
444+
}
445+
if "mastodon" in author {
446+
items.push(
447+
contact-item(
448+
(text: "@" + author.mastodon, icon: mastodon-icon, link: author.mastodon),
449+
link-prefix: "https://mastodon.social/@"
450+
)
451+
)
452+
}
435453
if "scholar" in author {
436454
let fullname = str(author.firstname + " " + author.lastname)
437455
items.push(

template/resume.typ

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
gitlab: "DeveloperPaul123",
1212
bitbucket: "DeveloperPaul123",
1313
twitter: "typstapp",
14+
bluesky: "ptsou.bsky.social",
15+
mastodon: "devpaul",
1416
scholar: "",
1517
orcid: "0000-0000-0000-000X",
1618
birth: "January 1, 1990",

0 commit comments

Comments
 (0)