Skip to content

Commit 0fc36a1

Browse files
committed
Added support for local author avatars
1 parent 2412a1b commit 0fc36a1

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

material/templates/blog-post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
{% for author in page.authors %}
2525
<div class="md-profile md-post__profile">
2626
<span class="md-author md-author--long">
27-
<img src="{{ author.avatar }}" alt="{{ author.name }}">
27+
<img src="{{ author.avatar | url }}" alt="{{ author.name }}">
2828
</span>
2929
<span class="md-profile__description">
3030
<strong>

material/templates/partials/post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<nav class="md-post__authors md-typeset">
88
{% for author in post.authors %}
99
<span class="md-author">
10-
<img src="{{ author.avatar }}" alt="{{ author.name }}">
10+
<img src="{{ author.avatar | url }}" alt="{{ author.name }}">
1111
</span>
1212
{% endfor %}
1313
</nav>

src/templates/blog-post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
{% for author in page.authors %}
5757
<div class="md-profile md-post__profile">
5858
<span class="md-author md-author--long">
59-
<img src="{{ author.avatar }}" alt="{{ author.name }}" />
59+
<img src="{{ author.avatar | url }}" alt="{{ author.name }}" />
6060
</span>
6161
<span class="md-profile__description">
6262
<strong>

src/templates/partials/post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<nav class="md-post__authors md-typeset">
3030
{% for author in post.authors %}
3131
<span class="md-author">
32-
<img src="{{ author.avatar }}" alt="{{ author.name }}" />
32+
<img src="{{ author.avatar | url }}" alt="{{ author.name }}" />
3333
</span>
3434
{% endfor %}
3535
</nav>

0 commit comments

Comments
 (0)