Skip to content

Commit

Permalink
Add last modified date
Browse files Browse the repository at this point in the history
  • Loading branch information
marcwrobel authored Aug 14, 2023
1 parent 0c2c2c2 commit 88693ca
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions _layouts/product-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ <h2 class="product-title">
{% include product-icon.html product=product size=30 %}
<a href="{{ product.permalink }}">{{ product.title }}</a>
</h2>

<time datetime="{{ product.last_modified_at | date_to_xmlschema }}" class="fw-300">
📅 Last updated on {{ product.last_modified_at | date_to_long_string }}
{%- if page.auto %}
<span title="Latest releases on this page are automatically updated.">🤖</span>
{%- endif %}
</time>

<div class="product-description">
{{ product.content | extract_element:'blockquote' | first | extract_element:'p' }}
</div>
Expand Down

0 comments on commit 88693ca

Please sign in to comment.