feat: updated date formatting logic
This commit is contained in:
parent
7b5f3adee9
commit
a849a028ec
5 changed files with 8 additions and 8 deletions
4
tags.njk
4
tags.njk
|
|
@ -15,7 +15,7 @@ layout: base.njk
|
|||
<li>
|
||||
<a href="{{ post.url }}" class="post-card">
|
||||
<h2>{{ post.data.title }}</h2>
|
||||
<time datetime="{{ post.date | dateFormat }}">{{ post.date | dateFormat }}</time>
|
||||
<time datetime="{{ post.date | dateTimeFormat }}">{{ post.date | dateTimeFormat }}</time>
|
||||
{% if post.data.description %}
|
||||
<p>{{ post.data.description }}</p>
|
||||
{% endif %}
|
||||
|
|
@ -24,4 +24,4 @@ layout: base.njk
|
|||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<p><a href="/tags/"><3E> All tags</a></p>
|
||||
<p><a href="/tags/"><3E> All tags</a></p>
|
||||
Loading…
Add table
Add a link
Reference in a new issue