chore: date formatting

This commit is contained in:
Cory Dransfeldt 2023-06-08 14:15:31 -07:00
parent d2a143f28f
commit b2f2155682
No known key found for this signature in database
5 changed files with 8 additions and 4 deletions

View file

@ -5,7 +5,7 @@ layout: main
<article class="h-entry">
<h2 class="p-name text-xl md:text-2xl font-black leading-tight dark:text-gray-200 pt-12">{{ title }}</h2>
<span class="p-author h-card hidden">{{ site.title }}</span>
<time class="mt-2 mb-6 block text-sm dt-published" datetime="{{ date }}">{{ date | date: "%m.%d.%Y" }}</time>
<time class="mt-2 mb-6 block text-sm dt-published" datetime="{{ date }}">{{ date | readableDate }}</time>
<div class="p-summary hidden">{{ post_excerpt | markdown }}</div>
<div class="e-content prose dark:prose-invert hover:prose-a:text-blue-500 max-w-full text-gray-800 dark:text-white">
{{ content }}