Change the alt on user avatars so it's just the user's name without 'Avatar for', since the h-entry parser infers that the alt is the user's name
This commit is contained in:
parent
c977f2cd53
commit
a0b8425911
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
$maybe route <- mcurrentRoute
|
$maybe route <- mcurrentRoute
|
||||||
<a .u-uid.u-url href=@{route} hidden>
|
<a .u-uid.u-url href=@{route} hidden>
|
||||||
|
|
||||||
<img .card-img-top.u-photo src=@{AvatarR userId} alt="Avatar for #{userFullName user}">
|
<img .card-img-top.u-photo src=@{AvatarR userId} alt=#{userFullName user}>
|
||||||
|
|
||||||
<div .card-body>
|
<div .card-body>
|
||||||
<h4 .card-title.p-name>#{userFullName user}
|
<h4 .card-title.p-name>#{userFullName user}
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<div .card-footer>
|
<div .card-footer>
|
||||||
$maybe author <- maybeAuthor
|
$maybe author <- maybeAuthor
|
||||||
<a .p-author.h-card href=@{HomeR}>
|
<a .p-author.h-card href=@{HomeR}>
|
||||||
<img .u-photo src=@{AvatarR $ entryAuthorId entry} alt="Avatar for #{userFullName author}">
|
<img .u-photo src=@{AvatarR $ entryAuthorId entry} alt=#{userFullName author}>
|
||||||
#{userFullName author}
|
#{userFullName author}
|
||||||
<a .u-url href="@{entryR (Entity entryId entry)}">
|
<a .u-url href="@{entryR (Entity entryId entry)}">
|
||||||
<i .fa.fa-link>
|
<i .fa.fa-link>
|
||||||
|
|
Loading…
Reference in a new issue