Show date but not time for each posts.

This commit is contained in:
Sergio Martínez Portela 2023-09-16 18:42:25 +02:00
parent 6275fc3694
commit da6536ff53
2 changed files with 4 additions and 4 deletions

View File

@ -30,8 +30,8 @@
<article class="post">
<h2 class="post-title">{{ title }}</h2>
<div class="post-metadata">
<time datetime="{{ post_publication_date }}">
{{ post_publication_date }}
<time class="post-publication-date" datetime="{{ post_publication_date.date() }}">
{{ post_publication_date.date() }}
</time>
<ul class="post-tags">
{% for post_tag in post_tags %}

View File

@ -32,8 +32,8 @@
<article class="post">
<h2 class="post-title"><a href="{{ post.link }}">{{ post.title }}</a></h2>
<div class="post-metadata">
<time datetime="{{ post.post_publication_date }}">
{{ post.post_publication_date }}
<time class="post-publication-date" datetime="{{ post.post_publication_date.date() }}">
{{ post.post_publication_date.date() }}
</time>
<ul class="post-tags">
{% for post_tag in post.post_tags %}