1
0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2024-11-22 08:07:30 +00:00

Show website on profile

Closes #9
This commit is contained in:
Cadence Fish 2020-01-29 01:35:37 +13:00
parent 982a7f551f
commit b47f162cfe
No known key found for this signature in database
GPG Key ID: 81015DF9AA8607E1

View File

@ -23,6 +23,9 @@ html
h1.full-name= user.data.full_name
h2.username= `@${user.data.username}`
p.bio= user.data.biography
if user.data.external_url
p.website
a(href=user.data.external_url)= user.data.external_url
div.profile-counter #[span(data-numberformat=user.posts).count #{numberFormat(user.posts)}] posts
div.profile-counter #[span(data-numberformat=user.following).count #{numberFormat(user.following)}] following
div.profile-counter #[span(data-numberformat=user.followedBy).count #{numberFormat(user.followedBy)}] followed by