~xdavidwu/xdavidwu.link

ca7c5d0999384547c0c02c57100aba2c83dcbb1a — xdavidwu 3 years ago c15807d
date: fix forkawesome compatibility
1 files changed, 2 insertions(+), 2 deletions(-)

M _includes/page__date.html
M _includes/page__date.html => _includes/page__date.html +2 -2
@@ 1,5 1,5 @@
{% if page.last_modified_at %}
  <p class="page__date"><strong><i class="fa fa-fw fa-calendar-alt" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.last_modified_at | date: "%Y-%m-%d" }}">{{ page.last_modified_at | date: "%B %-d, %Y" }}</time></p>
  <p class="page__date"><strong><i class="fa fa-fw fa-calendar-o" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.last_modified_at | date: "%Y-%m-%d" }}">{{ page.last_modified_at | date: "%B %-d, %Y" }}</time></p>
{% elsif page.date %}
  <p class="page__date"><strong><i class="fa fa-fw fa-calendar-alt" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %-d, %Y" }}</time></p>
  <p class="page__date"><strong><i class="fa fa-fw fa-calendar-o" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Updated:" }}</strong> <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %-d, %Y" }}</time></p>
{% endif %}