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:
Danielle McLean 2017-10-13 22:47:53 +11:00
parent c977f2cd53
commit a0b8425911
Signed by: 00dani
GPG key ID: 5A5D2D1AFF12EEC5
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
$maybe route <- mcurrentRoute
<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>
<h4 .card-title.p-name>#{userFullName user}

View file

@ -7,7 +7,7 @@
<div .card-footer>
$maybe author <- maybeAuthor
<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}
<a .u-url href="@{entryR (Entity entryId entry)}">
<i .fa.fa-link>