Remove zero padding from news dates

This commit is contained in:
Blaž Hrastnik
2023-03-23 17:27:48 +09:00
parent eb96476fd6
commit 80f38f03c2
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@
{% block content %}
<h1 class="title">{{ page.title }}</h1>
<time>{{ page.date | date(format='%d %B %Y')}}</time>
<time>{{ page.date | date(format='%-d %B %Y')}}</time>
{{ page.content | safe }}

View File

@@ -26,7 +26,7 @@
<li class="post">
<div class="post-header">
<div class="meta">
<time>{{ post.date | date(format='%d %B')}}</time>
<time>{{ post.date | date(format='%-d %B')}}</time>
</div>
<div class="matter">
<h4 class="title small">