From 9f5adcb42bb4eb86ef7fbd32dc1a1b9280528428 Mon Sep 17 00:00:00 2001 From: Cadence Fish Date: Wed, 29 Jan 2020 01:18:14 +1300 Subject: [PATCH] Fix line breaks in profile counters --- src/site/pug/user.pug | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/src/site/pug/user.pug b/src/site/pug/user.pug index 699c8e8..ee06b7e 100644 --- a/src/site/pug/user.pug +++ b/src/site/pug/user.pug @@ -23,18 +23,9 @@ html h1.full-name= user.data.full_name h2.username= `@${user.data.username}` p.bio= user.data.biography - 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 + 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 div.links a(rel="alternate" type="application/rss+xml" href=`/u/${user.data.username}/rss.xml`) RSS a(rel="noreferrer noopener" href=`https://www.instagram.com/${user.data.username}`) instagram.com