Added support for local author avatars

This commit is contained in:
squidfunk
2024-06-01 11:57:35 +01:00
parent 2412a1b7bc
commit 0fc36a1f4c
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>