blog post thumbnails

This commit is contained in:
2024-08-16 20:22:19 +02:00
parent fdfa69c4b4
commit 9b81d70ae2
28 changed files with 178 additions and 32 deletions

View File

@ -1,9 +1,11 @@
<article class="grid grid-cols-[1fr_2fr] grid-flow-col gap-4">
<aside class="row-span-3">
<!-- TODO <figure> -->
<svg aria-hidden="true" class="h-12 w-12 fill-blue-950">
<use xlink:href="/svg/icons-sprite.svg#mail" />
</svg>
<!-- TODO Thumbnail -->
<!-- <svg aria-hidden="true" class="h-12 w-12 fill-blue-950"> -->
<!-- <use xlink:href="/svg/icons-sprite.svg#mail" /> -->
<!-- </svg> -->
<figure>
</aside>
<header>
<h3 class="text-lg font-bold mb-1">{{post.metadata.title}}</h3>

View File

@ -54,7 +54,7 @@
<ul class="mx-5">
{% for post in featured_blog_posts %}
<li>
{% include "components/post_preview.html" %}
{% include "components/blog_post_preview.html" %}
<hr class="border-blue-950 my-5">
</li>
{% endfor %}