fix blog and news

This commit is contained in:
2024-11-19 14:10:54 +02:00
parent 9c862e91c1
commit 34e5594cff
7 changed files with 45 additions and 45 deletions

View File

@@ -1,4 +1,4 @@
<div class="flex flex-col rounded-lg shadow-lg overflow-hidden border">
<div class="flex flex-col rounded-lg shadow-lg overflow-hidden border border-gray-600">
<div class="flex-1">
<a href={{ post.permalink }} class="block">
<div class="flex-shrink-0">
@@ -7,13 +7,13 @@
<img class="h-48 w-full mx-auto object-cover" src={{img_url}} alt="" />
{% endif %}
</div>
<div class="flex-1 bg-white p-4 flex flex-col justify-between">
<div class="flex-1 p-4 flex flex-col justify-between">
<h3 class="mt-2 text-xl leading-7 font-medium text-gray-900 text-left not-italic">
<h3 class="mt-2 text-xl leading-7 font-medium text-gray-100 text-left not-italic">
{{ post.title }}
</h3>
{% if post.description %}
<p class="mt-3 text-sm font-normal leading-5 text-gray-500 text-left">
<p class="mt-3 text-sm font-normal leading-5 text-gray-300 text-left">
{{ post.description }}
</p>
{% endif %}
@@ -36,7 +36,7 @@
h-8
rounded-full
bg-gray-200
border-2 border-white
border border-gray-400
" />
</a>
</li>
@@ -46,7 +46,7 @@
</ul>
</div>
<p class="text-gray-700 text-xs">
<p class="text-gray-400 text-xs">
<time datetime="{{post.date}}">
{{ post.date | date(format="%B %e, %Y", timezone="America/Chicago") }}
</time>