Add support for customizable date format (#533)

* Add support for customizable date format

* Add support for customizable date format
This commit is contained in:
Bang Jun-young 2019-08-15 03:10:59 +09:00 committed by Dean Attali
parent e58cd5259e
commit 96c25086b5
3 changed files with 6 additions and 3 deletions

View file

@ -25,7 +25,7 @@ title: 'Tag Index'
<div class="tag-entry">
<a href="{{ post.url | relative_url }}">{{- post.title -}}</a>
<div class="entry-date">
<time datetime="{{- post.date | date_to_xmlschema -}}">{{- post.date | date: "%B %d, %Y" -}}</time>
<time datetime="{{- post.date | date_to_xmlschema -}}">{{- post.date | date: site.date_format -}}</time>
</div>
</div>
{%- endfor -%}