##// END OF EJS Templates
prevent profile_dir from being undefined...
prevent profile_dir from being undefined can happen when other traits are configured that depend on profile_dir, e.g. `NotebookApp.extra_static_paths`. This ensures that `init_profile_dir` fires prior to any reference to the profile directory.

File last commit:

r11771:a5cc9313
r11836:94e4598b
Show More
reveal_cells.tpl
20 lines | 524 B | application/vnd.groove-tool-template | SmartyLexer
{%- extends 'html_basic.tpl' -%}
{%- block any_cell scoped -%}
{%- if cell.metadata.slide_type in ['-', 'slide', 'subslide'] -%}
{{ super() }}
{%- elif cell.metadata.slide_type in ['skip'] -%}
<div style=display:none>
{{ super() }}
</div>
{%- elif cell.metadata.slide_type in ['notes'] -%}
<aside class="notes">
{{ super() }}
</aside>
{%- elif cell.metadata.slide_type in ['fragment'] -%}
<div class="fragment">
{{ super() }}
</div>
{%- endif -%}
{%- endblock any_cell -%}