fix post date format and html style

This commit is contained in:
2022-04-09 12:31:23 +00:00
parent 68ce65034b
commit 4320d7b18d

View File

@@ -2,7 +2,7 @@
<a href="{{ post.get_absolute_url }}" class="block p-4">
<div class="float-right px-2 py-0.5 rounded-full text-sm font-medium text-proprietary dark:text-blue-100 bg-blue-200 dark:bg-proprietary-dark">
<i class="fa-solid fa-calendar-days mr-1"></i>
<p style="margin-bottom: 0rem;">{{ post.date|date:"d. F Y" }}</p>
{{ post.date|date:"d.m.Y" }}
</div>
<h3 class="text-gray-800 dark:text-gray-200 leading-relaxed">{{ post.title|safe|truncatechars:60 }}</h3>
</a>