lebd/templates/mf2/h-entry.hamlet

20 lines
652 B
Text
Raw Normal View History

<article .h-entry .card.bg-dark>
<div .card-body>
<h4 .p-name .card-title>#{entryName entry}
<div .e-content>
#{entryContent entry}
<div .card-footer>
$maybe author <- maybeAuthor
<a .p-author.h-card href=@{HomeR}>
<i .fa.fa-user>
#{userFullName author}
<a .u-url href="@{entryR (Entity entryId entry)}">
<i .fa.fa-link>
permalink
<time .dt-published datetime=#{timeUnfriendly published}>
<i .fa.fa-calendar>
#{timeFriendly published}
<time .dt-updated datetime=#{timeUnfriendly updated} :published == updated:hidden>
<i .fa.fa-pencil>
#{timeFriendly updated}