mirror of
https://github.com/codeninjasuk/codeninjasuk.github.io.git
synced 2024-11-26 17:26:08 -05:00
6 lines
741 B
HTML
6 lines
741 B
HTML
|
{% 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[site.locale].date_label | default: "Updated:" }}</strong> <time class="dt-published" 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[site.locale].date_label | default: "Updated:" }}</strong> <time class="dt-published" datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: date_format }}</time></p>
|
||
|
{% endif %}
|