date reformat
This commit is contained in:
parent
35d56b87e9
commit
123be5220d
|
@ -5,7 +5,7 @@ layout: default
|
||||||
<div class="post">
|
<div class="post">
|
||||||
<a class="post__back" href="/"><-- back</a>
|
<a class="post__back" href="/"><-- back</a>
|
||||||
<h1 class="post__title">{{ page.title }}</h1>
|
<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"?>
|
<div class="post__content"?>
|
||||||
{{ content }}
|
{{ content }}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -21,7 +21,7 @@ layout: default
|
||||||
<ul>
|
<ul>
|
||||||
{% for post in site.posts %}
|
{% for post in site.posts %}
|
||||||
<li>
|
<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>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in New Issue