Permalink
Browse files

Add default date format to pagination

  • Loading branch information...
ashawley committed Feb 12, 2019
1 parent fd2eb98 commit f1a4c22eb54e8d56136e132f3a656df29ec69525
Showing with 7 additions and 1 deletion.
  1. +7 −1 index.html
@@ -8,7 +8,13 @@
<div class="posts">
{% for post in paginator.posts %}
<div class="post py3">
<p class="post-meta">{{ post.date | date: site.date_format }}</p>
<p class="post-meta">
{% if site.date_format %}
{{ post.date | date: site.date_format }}
{% else %}
{{ post.date | date: "%b %-d, %Y" }}
{% endif %}
</p>
<a href="{{ post.url | relative_url }}" class="post-link"><h3 class="h1 post-title">{{ post.title }}</h3></a>
<span class="post-summary">
{% if post.summary %}

0 comments on commit f1a4c22

Please sign in to comment.