Fixed display bug from eleventy or skeleventy.
For whatever reason, the date 2026-02-01 is rendering as "1 January, 2026." This is a bug in either eleventy or the skeleventy template I'm using. I'm not sure which, but I've added a means of overriding the displayed date.
This commit is contained in:
parent
f15725b9b4
commit
8c77aa1ed8
1 changed files with 4 additions and 0 deletions
|
|
@ -75,7 +75,11 @@ pagination:
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
<time class="datetime color-grey text-600" datetime="{{ post.date | timestamp }}">
|
<time class="datetime color-grey text-600" datetime="{{ post.date | timestamp }}">
|
||||||
|
{%- if not post.data.date_override %}
|
||||||
{{ post.date | dateDisplay }}
|
{{ post.date | dateDisplay }}
|
||||||
|
{%- else %}
|
||||||
|
{{ post.data.date_override }}
|
||||||
|
{% endif -%}
|
||||||
</time>
|
</time>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue