From b47f162cfee2131273a105ac996339eaf38f0fb4 Mon Sep 17 00:00:00 2001 From: Cadence Fish Date: Wed, 29 Jan 2020 01:35:37 +1300 Subject: [PATCH] Show website on profile Closes #9 --- src/site/pug/user.pug | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/site/pug/user.pug b/src/site/pug/user.pug index ee06b7e..b1531f6 100644 --- a/src/site/pug/user.pug +++ b/src/site/pug/user.pug @@ -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