Skip to content

Commit 2c853d4

Browse files
committed
formatting date
1 parent 1c3b54c commit 2c853d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

_layouts/post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{% if page.title %}<h2>{{ page.title }}</h2>{% endif %}
77
<ul>
88
{% if page.author %}<li>by {{ page.author }}</li>{% endif %}
9-
<li>{{ page.date }}</li>
9+
<li>{{ page.date | date_to_string }}</li>
1010
</ul>
1111
</header>
1212
{{ content }}

blog/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ <h2>Blog</h2>
1010
<h3><a href="{{ post.url }}">{{ post.title }}</a></h3>
1111
<ul>
1212
{% if post.author %}<li>by {{ post.author }}</li>{% endif %}
13-
<li>{{ post.date }}</li>
13+
<li>{{ post.date | date_to_string }}</li>
1414
</ul>
1515
</header>
1616
<p> {{ post.excerpt }} </p>

0 commit comments

Comments
 (0)