We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f35d8e commit 37377a4Copy full SHA for 37377a4
_includes/media-url.html
@@ -15,9 +15,7 @@
15
{%- if url -%}
16
{% unless url contains ':' %}
17
{%- comment -%} Add media resources subpath prefix {%- endcomment -%}
18
- {% if include.subpath %}
19
- {% assign url = include.subpath | append: '/' | append: url %}
20
- {% endif %}
+ {% assign url = include.subpath | default: '' | append: '/' | append: url %}
21
22
{%- comment -%} Prepend CND URL {%- endcomment -%}
23
{% if site.cdn %}
0 commit comments