feat: updated date formatting logic

This commit is contained in:
Leyla Becker 2026-02-10 17:29:15 -06:00
parent 7b5f3adee9
commit a849a028ec
5 changed files with 8 additions and 8 deletions

View file

@ -15,7 +15,7 @@ layout: base.njk
<li>
<a href="{{ post.url }}" class="post-card">
<h2>{{ post.data.title }}</h2>
<time datetime="{{ post.date | dateFormat }}">{{ post.date | dateFormat }}</time>
<time datetime="{{ post.date | dateTimeFormat }}">{{ post.date | dateTimeFormat }}</time>
{% if post.data.description %}
<p>{{ post.data.description }}</p>
{% endif %}
@ -24,4 +24,4 @@ layout: base.njk
{% endfor %}
</ul>
<p><a href="/tags/"><3E> All tags</a></p>
<p><a href="/tags/"><3E> All tags</a></p>