Remove the gross schema.org attributes from the h-card, since mf2 provides the same information in a nicer format anyway
This commit is contained in:
parent
0055a4160b
commit
3830bed42e
1 changed files with 7 additions and 7 deletions
|
@ -1,26 +1,26 @@
|
||||||
<div .card.h-card .bg-dark itemscope itemtype="http://schema.org/Person">
|
<div .card.h-card .bg-dark>
|
||||||
$maybe route <- mcurrentRoute
|
$maybe route <- mcurrentRoute
|
||||||
<a .u-uid.u-url itemprop="url" href=@{route} hidden>
|
<a .u-uid.u-url href=@{route} hidden>
|
||||||
|
|
||||||
<img .card-img-top.u-photo itemprop="image" src=@{staticR ["img", userAvatar user]} alt="Avatar for #{userFullName user}">
|
<img .card-img-top.u-photo src=@{staticR ["img", userAvatar user]} alt="Avatar for #{userFullName user}">
|
||||||
|
|
||||||
<div .card-body>
|
<div .card-body>
|
||||||
<h4 .card-title.p-name itemprop="name">#{userFullName user}
|
<h4 .card-title.p-name>#{userFullName user}
|
||||||
$forall key <- pgpKeys
|
$forall key <- pgpKeys
|
||||||
<a .card-subtitle.u-key href=@{routeFromPgp key}>
|
<a .card-subtitle.u-key href=@{routeFromPgp key}>
|
||||||
<i .fa.fa-key>
|
<i .fa.fa-key>
|
||||||
#{prettyPgp key}
|
#{prettyPgp key}
|
||||||
<link rel="pgpkey" type="application/pgp-keys" href=@{routeFromPgp key}>
|
<link rel="pgpkey" type="application/pgp-keys" href=@{routeFromPgp key}>
|
||||||
<p .card-text.p-note .text-muted itemprop="description">#{userNote user}
|
<p .card-text.p-note .text-muted>#{userNote user}
|
||||||
|
|
||||||
<ul .profiles>
|
<ul .profiles>
|
||||||
<li>
|
<li>
|
||||||
<a .u-email itemprop="email" rel="me" href="mailto:#{userEmail user}">
|
<a .u-email rel="me" 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 itemprop="sameAs" rel="me" href="#{profileUrl site profile}">
|
<a .u-url rel="me" 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