Add link list updated date condition

This commit is contained in:
Helen Chong 2024-07-03 17:09:36 +08:00
parent 48a26e803b
commit 48a7a80e5e
1 changed files with 4 additions and 0 deletions

View File

@ -25,6 +25,10 @@ isContentDivided: true
{{ group.data.title }}
{% endheadingAnchor %}
{{ group.templateContent | safe }}
{% if group.data.updated %}
<p style="margin-top: 3em;">(This list was last updated on {{ group.data.updated | formatDate }})</p>
{% endif %}
<a href="#linktabs" class="tab__btn" style="margin-top: 3em;">Back to tabs</a>
</section>
{%- endfor %}