truncate modified date and add to post index

This commit is contained in:
Infominer 2020-01-06 06:56:30 -05:00
parent 0016f98f6d
commit 76bd23c733
39 changed files with 77 additions and 67 deletions

View file

@ -30,9 +30,7 @@
<a href="{{ post.url | relative_url }}" rel="permalink">{{ title }}</a>
{% endif %}
</h2>
{% if post.read_time %}
<p class="page__meta"><i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
{% endif %}
<p class="page__meta">Last Modified: {{ post.last_modified_at }} <i class="far fa-clock" aria-hidden="true"></i> {% include read-time.html %}</p>
{% if post.excerpt %}<p class="archive__item-excerpt" itemprop="description">{{ post.excerpt | markdownify | strip_html | truncate: 160 }}</p>{% endif %}
</article>
</div>