Put the schema.org/Person stuff back. I decided to include friggin' Facebook's metadata approach, so this isn't that unreasonable
This commit is contained in:
parent
a0004946d6
commit
cdda4e2eee
1 changed files with 7 additions and 7 deletions
|
@ -1,25 +1,25 @@
|
||||||
<article .card.h-card .bg-dark>
|
<article .card.h-card .bg-dark itemscope itemtype="http://schema.org/Person">
|
||||||
$maybe route <- mcurrentRoute
|
$maybe route <- mcurrentRoute
|
||||||
<a .u-uid.u-url href=@{route} hidden>
|
<a .u-uid.u-url itemprop="url" href=@{route} hidden>
|
||||||
|
|
||||||
<img .card-img-top.u-photo src=@{AvatarR userId} alt=#{userFullName user}>
|
<img .card-img-top.u-photo itemprop="image" src=@{AvatarR userId} alt=#{userFullName user}>
|
||||||
|
|
||||||
<div .card-body>
|
<div .card-body>
|
||||||
<h4 .card-title.p-name>#{userFullName user}
|
<h4 .card-title.p-name itemprop="name">#{userFullName user}
|
||||||
$forall key <- pgpKeys
|
$forall key <- pgpKeys
|
||||||
<a .card-subtitle.u-key type="application/pgp-keys" href=@{routeFromPgp key}>
|
<a .card-subtitle.u-key type="application/pgp-keys" href=@{routeFromPgp key}>
|
||||||
<i .fa.fa-key>
|
<i .fa.fa-key>
|
||||||
#{prettyPgp key}
|
#{prettyPgp key}
|
||||||
<div .p-note .text-muted>#{userNote user}
|
<div .p-note itemprop="description" .text-muted>#{userNote user}
|
||||||
|
|
||||||
<ul .profiles>
|
<ul .profiles>
|
||||||
<li>
|
<li>
|
||||||
<a .u-email rel="me" href="mailto:#{userEmail user}">
|
<a .u-email rel="me" itemprop="email" href="mailto:#{userEmail user}">
|
||||||
<i .fa.fa-envelope>
|
<i .fa.fa-envelope>
|
||||||
#{userEmail user}
|
#{userEmail user}
|
||||||
$forall (Entity _ site, Entity _ profile) <- userProfiles
|
$forall (Entity _ site, Entity _ profile) <- userProfiles
|
||||||
<li>
|
<li>
|
||||||
<a .u-url rel="me" href="#{profileUrl site profile}">
|
<a .u-url rel="me" itemprop="sameAs" href="#{profileUrl site profile}">
|
||||||
<i .#{siteIcon site}>
|
<i .#{siteIcon site}>
|
||||||
$maybe name <- profileDisplayName profile
|
$maybe name <- profileDisplayName profile
|
||||||
#{name}
|
#{name}
|
||||||
|
|
Loading…
Reference in a new issue