##// 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:

r11770:6b8a9d57
r11836:94e4598b
Show More
align_reveal_cells.tpl
16 lines | 427 B | application/vnd.groove-tool-template | SmartyLexer
damianavila
Organized reveal's templates.
r11677 {%- extends 'reveal_internals/reveal_cells.tpl' -%}
damianavila
Added changes to understand alignment metadata for each cells.
r10947
{%- block any_cell scoped -%}
{%- if cell.metadata.align_type in ['Left'] -%}
{{ super() }}
{%- elif cell.metadata.align_type in ['center'] -%}
<div style="text-align:center">
{{ super() }}
</div>
{%- elif cell.metadata.align_type in ['right'] -%}
<div style="text-align:right">
{{ super() }}
</div>
{%- endif -%}
{%- endblock any_cell -%}