Skip to content

Commit 9bd6be9

Browse files
Tweaks to config.
1 parent cffe127 commit 9bd6be9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_includes/head.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
<script>
7272
$(function() {
7373
if(cookiePolicyManager.isCookiePolicyAccepted()) {
74-
$.getScript("{{script}}");
74+
$.getScript("{{ script | relative_url }}");
7575
}
7676
});
7777
</script>
@@ -86,7 +86,7 @@
8686
{%- endif -%}
8787
{%- if scripts -%}
8888
{%- for script in scripts -%}
89-
<script src="{{script}}?v={{site.version_cache_hash}}"></script>
89+
<script src="{{ script | relative_url }}?v={{site.version_cache_hash}}"></script>
9090
{%- endfor -%}
9191
{%- endif -%}
9292

0 commit comments

Comments
 (0)