Skip to content

Commit 7178417

Browse files
authored
Reveal template: Use proper routine for including JS asset (#1301)
this fixes support for the reveal template in Voici
1 parent 79dd80f commit 7178417

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

share/jupyter/voila/templates/reveal/index.html.j2

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55

66
{%- block html_head_js -%}
77
{%- block html_head_js_requirejs -%}
8-
<script
9-
src="{{resources.base_url}}voila/templates/reveal/static/require.min.js"
10-
integrity="sha256-Ae2Vz/4ePdIu6ZyI/5ZGsYnb+m0JlOmKPjt6XZ9JJkA="
11-
crossorigin="anonymous">
12-
</script>
8+
{{ resources.include_js("static/require.min.js") }}
139
{%- endblock html_head_js_requirejs -%}
1410
{%- block html_head_js_logs -%}
1511
{{ log.js() }}

0 commit comments

Comments
 (0)