Skip to content

Commit

Permalink
fix: do not output widget state in html
Browse files Browse the repository at this point in the history
  • Loading branch information
maartenbreddels committed Jan 11, 2021
1 parent 332b257 commit e1e12e3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion share/jupyter/voila/templates/classic/index.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@
<div class="container" id="notebook-container">
{% endblock body_header %}

{%- block footer %}
{% block footer_js %}
{{ voila_setup(resources.base_url, resources.nbextensions) }}
{% endblock footer_js %}

</html>
{%- endblock footer-%}
6 changes: 6 additions & 0 deletions share/jupyter/voila/templates/lab/index.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,9 @@ var voila_heartbeat = function() {
{{ voila_setup(resources.base_url, resources.nbextensions) }}
{{ super() }}
{%- endblock body_footer -%}

{%- block footer %}
{% block footer_js %}
{% endblock footer_js %}
</html>
{%- endblock footer-%}

0 comments on commit e1e12e3

Please sign in to comment.