sharpetronics.com/_includes/author_card.html

16 lines
522 B
HTML
Raw Normal View History

2021-01-13 18:58:23 -05:00
{% comment %}
The author metadata for both posts and post single pages.
{% endcomment %}
{% if post == blank %}
{% comment %}
Fix display bug when author data is empty.
{% endcomment %}
{% else %}
<div class="meta">
<time class="published">{{ post.date | date_to_string }} {{ page.date | date_to_string }}</time>
<h5 class="author"><img src="{{ author.avatar }}" alt="{{ author.first_name }} {{ author.last_name }}" /><span class="name">{{ author.first_name }}</span></h5>
</div>
{% endif %}