This commit is contained in:
Thomas Chartron 2021-11-11 19:13:15 +01:00
parent 26d72cd86e
commit f7f8df0808

View file

@ -45,10 +45,10 @@
<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>
</svg>
{% if extra.author.name %}
<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 }}">
{% if page.extra.author.name %}
<span class="ml-1">{{ page.extra.author.name }}</span>
{% if page.extra.author.avatar %}
<img class="rounded-full h-9 w-9 ml-1" src="{{ page.extra.author.avatar }}">
{% endif %}
{% else %}
<span class="ml-1">{{ config.extra.default_author.name }}</span>