Skip to content

Commit

Permalink
Add support for customizable date format (daattali#536)
Browse files Browse the repository at this point in the history
  • Loading branch information
bangjunyoung authored and Matt Erickson committed Apr 22, 2020
1 parent e9342de commit 9f6808a
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@ <h3 class="post-subtitle">
{% endif %}
</a>

{% if post.date %}
<p class="post-meta">
Posted on {{ post.date | date: "%B %-d, %Y" }}
</p>
{% endif %}
<p class="post-meta">
Posted on {{ post.date | date: site.date_format }}
</p>

{% if post.gh-repo %}
<a href="https://github.com/{{ post.gh-repo }}">See this code on Github</a>
Expand Down

0 comments on commit 9f6808a

Please sign in to comment.