- if current_user.signed_in? %section.micropost_form = render 'shared/micropost_form' .contain %h1 #{@user.display_name if @user.display_name} %section.stats = render 'shared/stats' - if @user.microposts.any? %section.microposts %h3 Posts #{@user.microposts.count} %ol.microposts = render @microposts = will_paginate @microposts