Display an adorable tiny sparkline-style avatar for the p-author on each h-entry
This commit is contained in:
parent
12bed07680
commit
10b1ed834a
2 changed files with 4 additions and 1 deletions
|
@ -5,3 +5,6 @@ article.h-entry
|
|||
justify-content: space-evenly
|
||||
> *
|
||||
margin-right: 1em
|
||||
> .p-author img
|
||||
height: 1em
|
||||
vertical-align: -0.1em
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<div .card-footer>
|
||||
$maybe author <- maybeAuthor
|
||||
<a .p-author.h-card href=@{HomeR}>
|
||||
<i .fa.fa-user>
|
||||
<img .u-photo src=@{AvatarR $ entryAuthorId entry} alt="Avatar for #{userFullName author}">
|
||||
#{userFullName author}
|
||||
<a .u-url href="@{entryR (Entity entryId entry)}">
|
||||
<i .fa.fa-link>
|
||||
|
|
Loading…
Reference in a new issue