date reformat
This commit is contained in:
parent
35d56b87e9
commit
123be5220d
|
@ -5,7 +5,7 @@ layout: default
|
|||
<div class="post">
|
||||
<a class="post__back" href="/"><-- 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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue