mirror of
https://gitee.com/huanghongxun/HMCL-docs.git
synced 2026-11-29 04:48:27 +08:00
8 lines
790 B
HTML
8 lines
790 B
HTML
{% assign locale = include.locale | default: site.locale %}
|
|
{% assign date_format = site.date_format | default: "%B %-d, %Y" %}
|
|
{% if page.last_modified_at %}
|
|
<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> {{ site.data.ui-text[locale].date_label | default: "Updated:" }}</strong> <time class="dt-updated" datetime="{{ page.last_modified_at | date: "%Y-%m-%d" }}">{{ page.last_modified_at | date: date_format }}</time></p>
|
|
{% elsif page.date %}
|
|
<p class="page__date"><strong><i class="fas fa-fw fa-calendar-alt" aria-hidden="true"></i> {{ site.data.ui-text[locale].date_label | default: "Updated:" }}</strong> <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: date_format }}</time></p>
|
|
{% endif %}
|