Skip to content

Commit e8e95c6

Browse files
ColCarrolljunpenglao
authored andcommitted
Fix link to be relative
1 parent 269ad73 commit e8e95c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/semantic_sphinx/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<meta name="apple-mobile-web-app-capable" content="yes">
2121
{% if pagename == 'nb_examples/index' %}
2222
<script type="text/javascript">
23-
jQuery(function () { Gallery.loadScript("/_static/gallery_contents.js", "exampleloader"); });
23+
jQuery(function () { Gallery.loadScript("{{ pathto('_static/gallery_contents.js', 1) }}", "exampleloader"); });
2424
</script>
2525
{# this is used when loading the gallery index using $.ajax fails,
2626
such as on Chrome for documents on localhost #}

0 commit comments

Comments
 (0)