extends ../../../components/path/templates/path

block path
  li.path__username(class=author.isPremium() ? 'is-premium' : '')
    a(href="/" + author.get('slug'))=author.get('username')
    if author.isPremium() && !followers && !following
      a.premium-badge(href="/tools/premium")
        .premium-badge__stars ✶✶
        .premium-badge__cracker
          include ../../../public/images/premium.svg
  if followers
    li.path__sub Followers
  if following
    li.path__sub Following

block right
  if author && user && author.id == user.id
    .channel-settings.edit-profile.is-editable
      a(href="/manage") Manage channels

block metadata
  .metadata
    if author.isPremium() && ((user && author.id == user.id) || author.has('metadata'))
      include metadata_pockets/about
    if user && user.has('username')
      include metadata_pockets/info
    unless following || followers
      include metadata_pockets/view
    unless following || followers || alpha
      include metadata_pockets/sort

extends ../../../components/path/templates/path

block path
  li.path__username(class=author.isPremium() ? 'is-premium' : '')
    a(href="/" + author.get('slug'))=author.get('username')
    if author.isPremium() && !followers && !following
      a.premium-badge(href="/tools/premium")
        .premium-badge__stars ✶✶
        .premium-badge__cracker
          include ../../../public/images/premium.svg
  if followers
    li.path__sub Followers
  if following
    li.path__sub Following

block right
  if author && user && author.id == user.id
    .channel-settings.edit-profile.is-editable
      a(href="/manage") Manage channels

block metadata
  .metadata
    if (user && author.id == user.id) || author.has('metadata')
      include metadata_pockets/about
    if user && user.has('username')
      include metadata_pockets/info
    unless following || followers
      include metadata_pockets/view
    unless following || followers || alpha
      include metadata_pockets/sort

Allow non-premium to edit bio
Allow non-premium to edit bio
