fix: date format

This commit is contained in:
Cory Dransfeldt 2024-03-02 20:40:51 -08:00
parent fdbb9d4e15
commit 922000449f
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View file

@ -13,7 +13,7 @@ schema: blog
<article class="h-entry" data-pagefind-body>
<div class="flex--centered">
<time class="dt-published" datetime="{{ date }}">
{{ date | date: "%B %d, %Y" }}
{{ date | date: "%B %e, %Y" }}
<span class="client-side"> • </span>
</time>
{% render "partials/share-button.liquid", url:postUrl, title:title, tagMap:collections.tagMap %}

View file

@ -12,7 +12,7 @@ pagination:
{% for post in pagination.items %}
<article class="h-entry">
<time class="dt-published" datetime="{{ post.date }}">
{{ post.date | date: "%B %d, %Y" }}
{{ post.date | date: "%B %e, %Y" }}
</time>
<a class="no-underline" href="{{ post.url }}">
<h2 class="flex--centered">{{ post.data.title }}</h2>