~xdavidwu/xdavidwu.link

5bc684bfdf24005d7ce0f49136d44d7459df19f2 — Michael Rose 7 years ago e47a335
Don't prepend `author.avatar` paths with `/` when path contains `://`
1 files changed, 1 insertions(+), 1 deletions(-)

M _includes/author-profile.html
M _includes/author-profile.html => _includes/author-profile.html +1 -1
@@ 8,7 8,7 @@

  <div class="author__avatar">
    {% if author.avatar contains "://" %}
    	<img src="{{ author.avatar | prepend: "/" }}" alt="{{ author.name }}">
    	<img src="{{ author.avatar }}" alt="{{ author.name }}">
    {% else %}
    	<img src="{{ author.avatar | prepend: "/" | prepend: base_path }}" class="author__avatar" alt="{{ author.name }}">
    {% endif %}