2017-10-05 07:39:16 -04:00
|
|
|
<div .card.h-card .bg-dark itemscope itemtype="http://schema.org/Person">
|
2017-10-03 19:07:51 -04:00
|
|
|
$maybe route <- mcurrentRoute
|
2017-10-05 07:39:16 -04:00
|
|
|
<a .u-uid.u-url itemprop="url" href=@{route} hidden>
|
2017-10-03 19:07:51 -04:00
|
|
|
|
2017-10-09 08:34:56 -04:00
|
|
|
<img .card-img-top.u-photo itemprop="image" src=@{staticR ["img", userAvatar user]} alt="Avatar for #{userFullName user}">
|
2017-10-03 19:07:51 -04:00
|
|
|
|
2017-10-02 09:52:14 -04:00
|
|
|
<div .card-body>
|
2017-10-05 07:39:16 -04:00
|
|
|
<h4 .card-title.p-name itemprop="name">#{userFullName user}
|
2017-10-03 18:09:39 -04:00
|
|
|
$forall key <- pgpKeys
|
2017-10-04 10:16:53 -04:00
|
|
|
<a .card-subtitle.u-key href=@{routeFromPgp key}>
|
2017-10-03 18:09:39 -04:00
|
|
|
<i .fa.fa-key>
|
|
|
|
#{prettyPgp key}
|
|
|
|
<link rel="pgpkey" type="application/pgp-keys" href=@{routeFromPgp key}>
|
2017-10-05 07:39:16 -04:00
|
|
|
<p .card-text.p-note .text-muted itemprop="description">#{userNote user}
|
2017-10-04 01:01:07 -04:00
|
|
|
|
|
|
|
<ul .profiles>
|
|
|
|
<li>
|
2017-10-05 07:39:16 -04:00
|
|
|
<a .u-email itemprop="email" rel="me" href="mailto:#{userEmail user}">
|
2017-10-04 01:01:07 -04:00
|
|
|
<i .fa.fa-envelope>
|
|
|
|
#{userEmail user}
|
2017-10-10 00:16:50 -04:00
|
|
|
$forall ((site, template), profile) <- userProfiles
|
2017-10-04 01:01:07 -04:00
|
|
|
<li>
|
2017-10-10 00:16:50 -04:00
|
|
|
<a .u-url itemprop="sameAs" rel="me" href="#{substitute template profile}">
|
2017-10-10 07:41:49 -04:00
|
|
|
<i .#{siteIcon site}>
|
2017-10-10 00:23:30 -04:00
|
|
|
$maybe name <- profileDisplayName profile
|
|
|
|
#{name}
|
|
|
|
$nothing
|
|
|
|
#{profileUsername profile}
|