This commit is contained in:
Thomas Chartron 2021-11-11 19:07:51 +01:00
parent a54a194867
commit 26d72cd86e

View file

@ -45,9 +45,11 @@
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"></path> <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"></path>
</svg> </svg>
{% if extra.author.name and extra.author.name %} {% if extra.author.name %}
<span class="ml-1">{{ extra.author.name }}</span> <span class="ml-1">{{ extra.author.name }}</span>
{% if extra.author.avatar %}
<img class="rounded-full h-9 w-9 ml-1" src="{{ extra.author.avatar }}"> <img class="rounded-full h-9 w-9 ml-1" src="{{ extra.author.avatar }}">
{% endif %}
{% else %} {% else %}
<span class="ml-1">{{ config.extra.default_author.name }}</span> <span class="ml-1">{{ config.extra.default_author.name }}</span>
<img class="rounded-full h-9 w-9 ml-1" src="{{ config.extra.default_author.avatar }}"> <img class="rounded-full h-9 w-9 ml-1" src="{{ config.extra.default_author.avatar }}">