Create an h-card widget and display my h-card on the homepage - needs more info but it's a good start
This commit is contained in:
parent
5eccafa9c2
commit
006264e77f
6 changed files with 27 additions and 2 deletions
5
templates/hcard.hamlet
Normal file
5
templates/hcard.hamlet
Normal file
|
@ -0,0 +1,5 @@
|
|||
<div .card.h-card>
|
||||
$maybe avatar <- userAvatar user
|
||||
<img .card-img-top.u-photo src=@{img avatar} alt="Avatar for #{userFullName user}">
|
||||
<div .card-body>
|
||||
<h4 .card-title.p-name>#{userFullName user}
|
|
@ -0,0 +1 @@
|
|||
^{hcard user}
|
Loading…
Add table
Add a link
Reference in a new issue