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 ee68395 commit d23e847Copy full SHA for d23e847
_includes/media-url.html
@@ -15,7 +15,9 @@
15
{%- if url -%}
16
{% unless url contains ':' %}
17
{%- comment -%} Add media resources subpath prefix {%- endcomment -%}
18
- {% assign url = include.subpath | default: '' | append: '/' | append: url %}
+ {% if include.subpath %}
19
+ {% assign url = include.subpath | append: '/' | append: url %}
20
+ {% endif %}
21
22
{%- comment -%} Prepend CND URL {%- endcomment -%}
23
{% if site.cdn %}
0 commit comments