lebd/templates/mf2/h-entry.hamlet

16 lines
578 B
Text
Raw Normal View History

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