dates on homepage
This commit is contained in:
parent
c20ad74fd0
commit
541650b9b2
1 changed files with 2 additions and 2 deletions
|
@ -9,8 +9,8 @@ layout: "base.njk"
|
|||
{%- for item in collection | reverse -%}
|
||||
<li>
|
||||
<a href="{{item.url}}">{{item.data.title}}</a>
|
||||
{%- if item.data.dateString -%}
|
||||
<aside>{{item.data.dateString}}</aside>
|
||||
{%- if item.data.date -%}
|
||||
<aside>{{item.data.date | formatDate("MMMM DD, YYYY") }}</aside>
|
||||
{%- endif -%}
|
||||
</li>
|
||||
{%- endfor -%}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue