@use crate::db::Contact; @use activitystreams::url::Url; @(contact: &Contact, base: &Url)
@contact.display_name's avatar

@contact.display_name

@if let Some(domain) = base.domain() {

@@@contact.username@@@domain

} else {

@@@contact.username

}