Skip to content

Commit 00a27a1

Browse files
authoredMay 18, 2024
fix: audio/video path apply variable media_subpath (cotes2020#1745)
1 parent 5cdde7d commit 00a27a1

File tree

3 files changed

+152
-183
lines changed

3 files changed

+152
-183
lines changed
 

‎_includes/embed/audio.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
{% unless src contains '://' %}
66
{%- capture src -%}
7-
{% include media-url.html src=src %}
7+
{% include media-url.html src=src subpath=page.media_subpath %}
88
{%- endcapture -%}
99
{% endunless %}
1010

‎_includes/embed/video.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
{% unless video_url contains '://' %}
77
{%- capture video_url -%}
8-
{% include media-url.html src=video_url %}
8+
{% include media-url.html src=video_url subpath=page.media_subpath %}
99
{%- endcapture -%}
1010
{% endunless %}
1111

0 commit comments

Comments
 (0)