Make text template the default

main
Anonymous Contributor 2023-09-15 14:33:19 +02:00
parent 3aa244d44d
commit e11309e3f3
3 changed files with 18 additions and 36 deletions

View File

@ -1,5 +1,20 @@
{% extends 'partials/base.html.twig' %} {% extends 'partials/base.html.twig' %}
{% block content %} {% block custom_stylesheets %}
{{ page.content|raw }} {% do assets.addCss('theme://css/text.css', 10) %}
{% endblock %}
{% block content %}
<div id="imCell_1" class="page-cell" data-responsive-sequence-number="1"> <div id="imCellStyleGraphics_1"></div><div id="imCellStyleBorders_1"></div><div id="page-title-container">
<div class="text-tab-content grid-prop current-tab" id="page-title-wrapper">
<div class="text-inner">{{ page.title }}</div>
</div>
</div>
</div>
<div id="imCell_2" class="page-cell" data-responsive-sequence-number="2"> <div id="imCellStyleGraphics_2"></div><div id="imCellStyleBorders_2"></div><div class="page-content-wrapper">
<div class="page-text-wrapper">
<div class="text-inner">{{ page.content|raw }}</div>
</div>
</div>
</div>
{% endblock %} {% endblock %}

View File

@ -1,8 +1 @@
{% extends 'partials/base.html.twig' %} {% extends 'default.html.twig' %}
{% block content %}
<div class="lead text-center">
<h1>Fehler!</h1>
{{ page.content|raw }}
</div>
{% endblock %}

View File

@ -1,26 +0,0 @@
{% extends 'partials/base.html.twig' %}
{% block custom_stylesheets %}
{% do assets.addCss('theme://css/text.css', 10) %}
{% endblock %}
{% block content %}
<div id="imPageRow_1" class="imPageRow"></div>
<div id="imCell_1" class="" data-responsive-sequence-number="1"> <div id="imCellStyleGraphics_1"></div><div id="imCellStyleBorders_1"></div><div id="imTextObject_39_01">
<div data-index="0" class="text-tab-content grid-prop current-tab " id="imTextObject_39_01_tab0" style="opacity: 1; ">
<div class="text-inner">
<div class="imTACenter"><span class="fs36lh1-5 ff1">{{ page.title }}</span></div>
</div>
</div>
</div>
</div>
<div id="imPageRow_2" class="imPageRow"></div>
<div id="imCell_2" class="" data-responsive-sequence-number="2"> <div id="imCellStyleGraphics_2"></div><div id="imCellStyleBorders_2"></div><div id="imTextObject_39_02">
<div data-index="0" class="text-tab-content grid-prop current-tab " id="imTextObject_39_02_tab0" style="opacity: 1; ">
<div class="text-inner">
<div>{{ page.content|raw }}</div>
</div>
</div>
</div>
</div>
{% endblock %}