Skip to content
Snippets Groups Projects
Commit 8f15e9e5 authored by jarmil's avatar jarmil
Browse files

WIP: PDP: presun jupyterize tagu a prislusnych templates pod PDP

parent 28b09afa
No related branches found
No related tags found
No related merge requests found
File moved
File moved
...@@ -34,7 +34,7 @@ def jupyterize(value): ...@@ -34,7 +34,7 @@ def jupyterize(value):
c.preprocessors = ["TagRemovePreprocessor"] c.preprocessors = ["TagRemovePreprocessor"]
nb_body, _ = nbconvert.TemplateExporter( nb_body, _ = nbconvert.TemplateExporter(
config=c, template_file="uniweb/templates/jupyter/my.tpl" config=c, template_file="pdp/templates/jupyter/my.tpl"
).from_filename(filename) ).from_filename(filename)
# HACK: fucking ugly. Ale netusim kde se to tam bere, asi nekde v hloubi notebookovskych templates # HACK: fucking ugly. Ale netusim kde se to tam bere, asi nekde v hloubi notebookovskych templates
......
{% load uniweb_filters wagtailcore_tags wagtailimages_tags %} {% load pdp_filters wagtailcore_tags wagtailimages_tags %}
<section class="mb-8 lg:mb-16"> <section class="mb-8 lg:mb-16">
{% for block in page.content %} {% for block in page.content %}
......
This diff is collapsed.
{% load uniweb_filters wagtailcore_tags wagtailimages_tags %} {% load pdp_filters wagtailcore_tags wagtailimages_tags %}
<section class="mb-8 lg:mb-16"> <section class="mb-8 lg:mb-16">
{% for block in page.content %} {% for block in page.content %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment