Show date but not time for each posts.
This commit is contained in:
parent
6275fc3694
commit
da6536ff53
@ -30,8 +30,8 @@
|
|||||||
<article class="post">
|
<article class="post">
|
||||||
<h2 class="post-title">{{ title }}</h2>
|
<h2 class="post-title">{{ title }}</h2>
|
||||||
<div class="post-metadata">
|
<div class="post-metadata">
|
||||||
<time datetime="{{ post_publication_date }}">
|
<time class="post-publication-date" datetime="{{ post_publication_date.date() }}">
|
||||||
{{ post_publication_date }}
|
{{ post_publication_date.date() }}
|
||||||
</time>
|
</time>
|
||||||
<ul class="post-tags">
|
<ul class="post-tags">
|
||||||
{% for post_tag in post_tags %}
|
{% for post_tag in post_tags %}
|
||||||
|
@ -32,8 +32,8 @@
|
|||||||
<article class="post">
|
<article class="post">
|
||||||
<h2 class="post-title"><a href="{{ post.link }}">{{ post.title }}</a></h2>
|
<h2 class="post-title"><a href="{{ post.link }}">{{ post.title }}</a></h2>
|
||||||
<div class="post-metadata">
|
<div class="post-metadata">
|
||||||
<time datetime="{{ post.post_publication_date }}">
|
<time class="post-publication-date" datetime="{{ post.post_publication_date.date() }}">
|
||||||
{{ post.post_publication_date }}
|
{{ post.post_publication_date.date() }}
|
||||||
</time>
|
</time>
|
||||||
<ul class="post-tags">
|
<ul class="post-tags">
|
||||||
{% for post_tag in post.post_tags %}
|
{% for post_tag in post.post_tags %}
|
||||||
|
Loading…
Reference in New Issue
Block a user