Skip to content

Commit 89b9625

Browse files
authored
fix: correct the generation of relative resource paths (#1553)
1 parent 5de0153 commit 89b9625

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_includes/img-url.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
%}
3030

3131
{% if include.absolute %}
32-
{% assign url = url | absolute_url %}
32+
{% assign url = site.url | append: site.base_url | append: url %}
3333
{% else %}
34-
{% assign url = url | relative_url %}
34+
{% assign url = site.base_url | append: url %}
3535
{% endif %}
3636
{% endunless %}
3737
{%- endif -%}

0 commit comments

Comments
 (0)