Commit 20248dc0aa

20248dc0aa07cb395c3719cc6ca3750b159f4c0d

parent: ccbaa7a60d

Unsigned

cmc <hello@cleberg.net> · 2024-03-14 04:51 UTC

update date formatting

Layout: unified · split

templates/index.html +1 −1
@@ -13,7 +13,7 @@
1313 {% if i < 3%}
1414 {% set_global i = i + 1%}
1515 <div class="post">
16 <time datetime="{{ page.date | date(format='%Y-%m-%d %H:%M:%S') }}">{{ page.date }}</time>
16 <time datetime="{{ page.date | date(format='%Y-%m-%d %H:%M:%S') }}">{{ page.date | date(format='%Y-%m-%d') }}</time>
1717 <a href="/blog/{{ page.slug }}/">{{ page.title }}</a>
1818 </div>
1919 {% endif %}
templates/section.html +1 −1
@@ -11,7 +11,7 @@
1111 <h2>{{ post_date }}</h2>
1212 {% endif %}
1313 <div class="post">
14 <time datetime="{{ page.date | date(format='%Y-%m-%d %H:%M:%S') }}">{{ page.date }}</time>
14 <time datetime="{{ page.date | date(format='%Y-%m-%d %H:%M:%S') }}">{{ page.date | date(format='%Y-%m-%d') }}</time>
1515 <a href="/blog/{{ page.slug }}/">{{ page.title }}</a>
1616 </div>
1717{% endfor %}