include hd-user-avatar.pug

sib-widget(name='hd-captain')
  template
    sib-display(
      data-src="${await value}"
      fields='account.picture, sup(name), sub(profile.city, is_lead)'

      class-name='user-name'
      class-profile.city='city'

      widget-account.picture='hd-user-avatar'
      widget-is_lead='hd-user-lead'
    )

sib-widget(name='hd-user-lead')
  template Project lead
