diff --git a/uniweb/jupyter-templates/basic.tpl b/uniweb/templates/jupyter/basic.tpl similarity index 100% rename from uniweb/jupyter-templates/basic.tpl rename to uniweb/templates/jupyter/basic.tpl diff --git a/uniweb/jupyter-templates/celltags.tpl b/uniweb/templates/jupyter/celltags.tpl similarity index 100% rename from uniweb/jupyter-templates/celltags.tpl rename to uniweb/templates/jupyter/celltags.tpl diff --git a/uniweb/jupyter-templates/mathjax.tpl b/uniweb/templates/jupyter/mathjax.tpl similarity index 100% rename from uniweb/jupyter-templates/mathjax.tpl rename to uniweb/templates/jupyter/mathjax.tpl diff --git a/uniweb/jupyter-templates/my.tpl b/uniweb/templates/jupyter/my.tpl similarity index 100% rename from uniweb/jupyter-templates/my.tpl rename to uniweb/templates/jupyter/my.tpl diff --git a/uniweb/templatetags/uniweb_filters.py b/uniweb/templatetags/uniweb_filters.py index 7350ba5dd5b5998e614fc6b196a303cad0ee8022..4dd5f4027dd0317353c094ff36f3d92e58890f7d 100644 --- a/uniweb/templatetags/uniweb_filters.py +++ b/uniweb/templatetags/uniweb_filters.py @@ -28,7 +28,7 @@ def jupyterize(value): c.preprocessors = ["TagRemovePreprocessor"] nb_body, _ = nbconvert.TemplateExporter( - config=c, template_file="uniweb/jupyter-templates/my.tpl" + config=c, template_file="uniweb/templates/jupyter/my.tpl" ).from_filename(filename) # HACK: fucking ugly. Ale netusim kde se to tam bere, asi nekde v hloubi notebookovskych templates