Skip to content

Commit 7700d3b

Browse files
committedSep 26, 2016
Don't prepend author.avatar paths with / when path contains ://
1 parent 9ae9d32 commit 7700d3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎_includes/author-profile.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<div class="author__avatar">
1010
{% if author.avatar contains "://" %}
11-
<img src="{{ author.avatar | prepend: "/" }}" alt="{{ author.name }}">
11+
<img src="{{ author.avatar }}" alt="{{ author.name }}">
1212
{% else %}
1313
<img src="{{ author.avatar | prepend: "/" | prepend: base_path }}" class="author__avatar" alt="{{ author.name }}">
1414
{% endif %}

0 commit comments

Comments
 (0)
Please sign in to comment.