Skip to content

Commit

Permalink
Wrap last modified date in <time> element
Browse files Browse the repository at this point in the history
  • Loading branch information
paulshryock committed Jul 11, 2024
1 parent d758699 commit e9f90ac
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/layouts/page.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ layout: scaffold

{% if tags contains "articles" %}
<small class="beard">
Last Modified {{ page.date | date: "%Y-%m-%d" }}
Last Modified
<time datetime="{{ page.date | date: "%Y-%m-%dT%H:%M:%S%z" }}">
{{ page.date | date: "%Y-%m-%d" }}
</time>
</small>
{% endif %}

Expand Down

0 comments on commit e9f90ac

Please sign in to comment.