michalvankodev-site/axum_server/templates/components/post_preview.html

16 lines
447 B
HTML
Raw Normal View History

2024-05-09 23:26:06 +02:00
<article class="grid grid-rows-3 grid-flow-col gap-4">
<aside class="row-span-3">
<svg aria-hidden="true" class="h-12 w-12 fill-blue-950">
<use xlink:href="/svg/icons-sprite.svg#mail" />
</svg>
</aside>
<header>
<h3 class="text-lg font-medium mb-1">{{post.metadata.title}}</h3>
</header>
<section class="text-sm leading-5 text-gray-800">{{post.body|description_filter|safe}}</section>
<footer>
Footrik
</footer>
</article>