@use crate::data::Contact; @use activitystreams::primitives::XsdAnyUri; @(contact: &Contact, base: &XsdAnyUri)
@contact.display_name's avatar

@contact.display_name

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

@@@contact.username@@@domain

} else {

@@@contact.username

}