Skip to content

Commit

Permalink
fix date formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
JeuJeus committed Sep 15, 2023
1 parent 881b864 commit f36a009
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/postslist.njk
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{% for post in postslist | reverse %}
<li class="postlist-item{% if post.url == url %} postlist-item-active{% endif %}">
<a href="{{ post.url }}" class="postlist-link">{% if post.data.title %}{{ post.data.title }}{% else %}<code>{{ post.url }}</code>{% endif %}</a>
<time class="postlist-date" datetime="{{ post.date | htmlDateString }}">{{ post.date | readableDate("LLLL yyyy") }}</time>
<time class="postlist-date" datetime="{{ post.date | htmlDateString }}">{{ post.date | readableDate("dd.MM.yyyy") }}</time>
</li>
{% endfor %}
</ol>

0 comments on commit f36a009

Please sign in to comment.