Show date of posts (#2526)
* add date to read-time.html * add option for show_date, dynamic icon style * change read-time to post__meta * cleanup post__metal.html * cleanup post__meta include variables * put date before read time * remove space in include variable * allow customisation of post__meta separator * add some documentation * oops fix typo derp * add post date image * change page meta separator customisation to CSS
This commit is contained in:
@@ -24,9 +24,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 %}
|
||||
{% include post__meta.html type=include.type %}
|
||||
{% if post.excerpt %}<p class="archive__item-excerpt" itemprop="description">{{ post.excerpt | markdownify | strip_html | truncate: 160 }}</p>{% endif %}
|
||||
</article>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user