Skip to content

Commit 71768d9

Browse files
committed
Update to nbconvert 6.2
1 parent a75917b commit 71768d9

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

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

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,6 @@
1717
<script src="{{ resources.jquery_url }}"></script>
1818
{%- endblock html_head_js_jquery -%}
1919

20-
{# html_head_css block is missing in the base reveal template #}
21-
{# This can be moved outside of html_head_js as soon as we can require a version of nbconvert includes https://github.com/jupyter/nbconvert/pull/1620 #}
22-
{%- block html_head_css -%}
23-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@^5/css/all.min.css" type="text/css" />
24-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@^5/css/v4-shims.min.css" type="text/css" />
25-
{{ resources.include_css("static/materialcolors.css") }}
26-
{{ resources.include_css("static/labvariables.css") }}
27-
{# super() #}
28-
{%- endblock html_head_css -%}
29-
3020
{% block notebook_execute %}
3121
{%- set kernel_id = kernel_start(nb) -%}
3222
<script id="jupyter-config-data" type="application/json">
@@ -41,6 +31,14 @@
4131

4232
{%- endblock html_head_js -%}
4333

34+
{%- block html_head_css -%}
35+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@^5/css/all.min.css" type="text/css" />
36+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@^5/css/v4-shims.min.css" type="text/css" />
37+
{{ resources.include_css("static/materialcolors.css") }}
38+
{{ resources.include_css("static/labvariables.css") }}
39+
{{ super() }}
40+
{%- endblock html_head_css -%}
41+
4442
{% block body_header %}
4543
<body data-base-url="{{resources.base_url}}voila/">
4644
<div class="reveal">

0 commit comments

Comments
 (0)