fighting with image

This commit is contained in:
piharpi
2019-03-24 19:19:13 +07:00
parent cf4acde68f
commit 68518bde77
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ author:
name: Leah Rutherford name: Leah Rutherford
username: piharpi username: piharpi
email: justharpi@gmail.com email: justharpi@gmail.com
avatar: /assets/img/avatar.png avatar: '/assets/img/avatar.png'
# Url settings # Url settings
url: https://piharpi.github.io/bangsring url: https://piharpi.github.io/bangsring

View File

@@ -2,7 +2,7 @@
{% assign url = page.url %} {% assign url = page.url %}
{% if url == "/" %} {% if url == "/" %}
<figure class="intro-image"> <figure class="intro-image">
<img src="{{ site.author.avatar }}" alt="{{ site.author.username }}"> <img src="{{ site.author.avatar | absolute_url }}" alt="{{ site.author.username }}">
</figure> </figure>
{%endif%} {%endif%}
<div class="intro-name">{{ site.title }}</div> <div class="intro-name">{{ site.title }}</div>