date reformat

This commit is contained in:
Micah Cowell 2016-03-27 21:03:39 -07:00
parent 35d56b87e9
commit 123be5220d
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ layout: default
<div class="post">
<a class="post__back" href="/">&lt;-- back</a>
<h1 class="post__title">{{ page.title }}</h1>
<p class="post__date">{{ page.date | date: '%Y %B %-d' }}</p>
<p class="post__date">{{ page.date | date: '%B %-d, %Y' }}</p>
<div class="post__content"?>
{{ content }}
</div>

View File

@ -21,7 +21,7 @@ layout: default
<ul>
{% for post in site.posts %}
<li>
<span class="date">{{ post.date | date: '%b %d %Y' }}</span> - <a href="{{ post.url }}">{{ post.title }}</a>
<span class="date">{{ post.date | date: '%Y %b %d' }}</span> - <a href="{{ post.url }}">{{ post.title }}</a>
</li>
{% endfor %}
</ul>