Better date formatting
This commit is contained in:
parent
fb6c85aea5
commit
86f7671ff6
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@
|
||||||
<article class="blog-post center">
|
<article class="blog-post center">
|
||||||
<p class="text-right float-right"><a href="{{ post|url }}">Read »</a></p>
|
<p class="text-right float-right"><a href="{{ post|url }}">Read »</a></p>
|
||||||
<h3 class="title"><a href="{{ post|url }}">{{ post.title }}</a></h3>
|
<h3 class="title"><a href="{{ post|url }}">{{ post.title }}</a></h3>
|
||||||
<div class="info">{{ post.pub_date }}</div>
|
<div class="info">{{ post.pub_date.strftime("%B %d, %Y") }}</div>
|
||||||
</article>
|
</article>
|
||||||
<hr class="light">
|
<hr class="light">
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<article class="blog-post center">
|
<article class="blog-post center">
|
||||||
<h1 class="title"><a href="{{ post|url }}">{{ post.title }}</a></h1>
|
<h1 class="title"><a href="{{ post|url }}">{{ post.title }}</a></h1>
|
||||||
<div class="info">
|
<div class="info">
|
||||||
Published on {{ post.pub_date }}
|
Published on {{ post.pub_date.strftime("%B %d, %Y") }}
|
||||||
</div>
|
</div>
|
||||||
{% if include_content %}
|
{% if include_content %}
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue