sharpetronics.com/_includes/author_card.html
oDinZu 960399636e
All checks were successful
continuous-integration/drone/push Build is passing
fix display bug & add back to top button
2022-11-01 17:44:33 -04:00

16 lines
522 B
HTML

{% 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 %}