Add support for customizable date format (#533)
* Add support for customizable date format * Add support for customizable date format
This commit is contained in:
parent
e58cd5259e
commit
96c25086b5
3 changed files with 6 additions and 3 deletions
|
@ -36,7 +36,7 @@
|
|||
{% endif %}
|
||||
|
||||
{% if include.type == "post" %}
|
||||
<span class="post-meta">Posted on {{ page.date | date: "%B %-d, %Y" }}</span>
|
||||
<span class="post-meta">Posted on {{ page.date | date: site.date_format }}</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -61,7 +61,7 @@
|
|||
{% endif %}
|
||||
|
||||
{% if include.type == "post" %}
|
||||
<span class="post-meta">Posted on {{ page.date | date: "%B %-d, %Y" }}</span>
|
||||
<span class="post-meta">Posted on {{ page.date | date: site.date_format }}</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue