Wrap blog post date in time tags

This commit is contained in:
Helen Chong 2024-11-04 00:13:47 +08:00
parent c96e39638d
commit ca49ff2d22
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ eleventyComputed:
{% endif %} {% endif %}
</a> </a>
</h3> </h3>
<p class="blog__post--time">{{ post.date | formatDate }}</p> <p class="blog__post--time"><time datetime="{{ post.date }}">{{ post.date | formatDate }}</time></p>
<p>{{ post.data.desc }}</p> <p>{{ post.data.desc }}</p>
</li> </li>
{% endfor %} {% endfor %}