~xdavidwu/xdavidwu.link

f4dcb2c243bc7b1289f267ad7ea0511052daae60 — xdavidwu 7 months ago 70bdd4b
page__meta: fa: always fixed width

simpler
1 files changed, 2 insertions(+), 2 deletions(-)

M _includes/page__meta.html
M _includes/page__meta.html => _includes/page__meta.html +2 -2
@@ 4,7 4,7 @@
    {% if document.show_date and document.date %}
      {% assign date = document.date %}
      <span class="page__meta-date">
        <i class="far {% if include.type == 'grid' and document.read_time and document.show_date %}fa-fw {% endif %}fa-calendar-alt" aria-hidden="true"></i>
        <i class="far fa-fw fa-calendar-alt" aria-hidden="true"></i>
        <time datetime="{{ date | date_to_xmlschema }}">{{ date | date: "%B %-d, %Y" }}</time>
      </span>
    {% endif %}


@@ 16,7 16,7 @@
      {% assign words = document.content | strip_html | number_of_words %}

      <span class="page__meta-readtime">
        <i class="far {% if include.type == 'grid' and document.read_time and document.show_date %}fa-fw {% endif %}fa-clock" aria-hidden="true"></i>
        <i class="far fa-fw fa-clock" aria-hidden="true"></i>
        {% if words < words_per_minute %}
          {{ site.data.ui-text[site.locale].less_than | default: "less than" }} 1 {{ site.data.ui-text[site.locale].minute_read | default: "minute read" }}
        {% elsif words == words_per_minute %}