lebd/templates/hcard.hamlet

14 lines
573 B
Text
Raw Normal View History

<div .card.h-card>
$maybe avatar <- maybeAvatar
<img .card-img-top.u-photo src=#{avatar} alt="Avatar for #{userFullName user}">
<div .card-body>
<h4 .card-title.p-name>#{userFullName user}
2017-10-02 22:17:34 -04:00
<p .card-text.p-note .text-muted>#{userNote user}
2017-10-02 21:03:25 -04:00
<a .card-link.u-email rel="me" href="mailto:#{userEmail user}">
<i .fa.fa-envelope>
#{userEmail user}
$forall (site, profile) <- userProfiles
<a .card-link.u-url rel="me" href="#{siteUrl site}#{profileUsername profile}">
<i .fa.fa-#{siteIcon site}>
#{profileUsername profile}