mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-30 18:24:35 +01:00
Added support for local author avatars
This commit is contained in:
parent
2412a1b7bc
commit
0fc36a1f4c
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user