extends site.pug //- Display mood here but keep yourself dry (i.e. dont request user mood if the profile being viewed is the profile of the currently logged-in user) block content h1= user.name if !isSelf form(action=`/users/${user.name}/follow`, method="post") button(type="submit")= isFollowing ? "unfollow" : "follow" br span= user.bio || "[no bio]" if user.website br a(href=user.website)= user.website br br h2 Current mood if userMood span | Feeling | strong if isSelf | #{currentMood} else | #{userMood.mood} br div(style="margin-left:2ch;word-wrap:break-word;")= userMood.desc || "[no mood description]" else span User has not yet set a mood! br h2 Recent updates include _feed.pug +feed(userMoodFeed, true)