Added support for local author avatars

This commit is contained in:
squidfunk 2024-06-01 11:57:35 +01:00
parent 2412a1b7bc
commit 0fc36a1f4c
No known key found for this signature in database
GPG Key ID: 5ED40BC4F9C436DF
4 changed files with 4 additions and 4 deletions

View File

@ -24,7 +24,7 @@
{% for author in page.authors %}
<div class="md-profile md-post__profile">
<span class="md-author md-author--long">
<img src="{{ author.avatar }}" alt="{{ author.name }}">
<img src="{{ author.avatar | url }}" alt="{{ author.name }}">
</span>
<span class="md-profile__description">
<strong>

View File

@ -7,7 +7,7 @@
<nav class="md-post__authors md-typeset">
{% for author in post.authors %}
<span class="md-author">
<img src="{{ author.avatar }}" alt="{{ author.name }}">
<img src="{{ author.avatar | url }}" alt="{{ author.name }}">
</span>
{% endfor %}
</nav>

View File

@ -56,7 +56,7 @@
{% for author in page.authors %}
<div class="md-profile md-post__profile">
<span class="md-author md-author--long">
<img src="{{ author.avatar }}" alt="{{ author.name }}" />
<img src="{{ author.avatar | url }}" alt="{{ author.name }}" />
</span>
<span class="md-profile__description">
<strong>

View File

@ -29,7 +29,7 @@
<nav class="md-post__authors md-typeset">
{% for author in post.authors %}
<span class="md-author">
<img src="{{ author.avatar }}" alt="{{ author.name }}" />
<img src="{{ author.avatar | url }}" alt="{{ author.name }}" />
</span>
{% endfor %}
</nav>