diff --git a/_includes/img-url.html b/_includes/img-url.html
index 1483652..2f8d401 100644
--- a/_includes/img-url.html
+++ b/_includes/img-url.html
@@ -29,9 +29,9 @@
%}
{% if include.absolute %}
- {% assign url = site.url | append: site.base_url | append: url %}
+ {% assign url = site.url | append: site.baseurl | append: url %}
{% else %}
- {% assign url = site.base_url | append: url %}
+ {% assign url = site.baseurl | append: url %}
{% endif %}
{% endunless %}
{%- endif -%}