diff --git a/config/packages/twig.yaml b/config/packages/twig.yaml index 8c5fe412..4d4d2c3d 100644 --- a/config/packages/twig.yaml +++ b/config/packages/twig.yaml @@ -1,5 +1,7 @@ twig: - default_path: '%kernel.project_dir%/templates' + paths: + - '%kernel.project_dir%/templates' + - '%kernel.project_dir%/templates/legacy' debug: '%kernel.debug%' strict_variables: '%kernel.debug%' exception_controller: null diff --git a/templates/admin/_admin_layout.html.twig b/templates/legacy/admin/_admin_layout.html.twig similarity index 91% rename from templates/admin/_admin_layout.html.twig rename to templates/legacy/admin/_admin_layout.html.twig index 4608aeb7..a72d4692 100644 --- a/templates/admin/_admin_layout.html.twig +++ b/templates/legacy/admin/_admin_layout.html.twig @@ -1,4 +1,4 @@ -{% extends 'layout.html.twig' %} +{% extends 'legacy_layout.html.twig' %} {% block head_closing %} diff --git a/templates/admin/logs.html.twig b/templates/legacy/admin/logs.html.twig similarity index 92% rename from templates/admin/logs.html.twig rename to templates/legacy/admin/logs.html.twig index e8b65c07..d920d4a6 100644 --- a/templates/admin/logs.html.twig +++ b/templates/legacy/admin/logs.html.twig @@ -1,4 +1,4 @@ -{% extends 'admin/_admin_layout.html.twig' %} +{% extends 'admin/_admin_legacy_layout.html.twig' %} {% block page_content %}
diff --git a/templates/admin/radio_tables.html.twig b/templates/legacy/admin/radio_tables.html.twig similarity index 97% rename from templates/admin/radio_tables.html.twig rename to templates/legacy/admin/radio_tables.html.twig index 663243e4..47e8ae77 100644 --- a/templates/admin/radio_tables.html.twig +++ b/templates/legacy/admin/radio_tables.html.twig @@ -1,4 +1,4 @@ -{% extends 'admin/_admin_layout.html.twig' %} +{% extends 'admin/_admin_legacy_layout.html.twig' %} {% block page_content %}
diff --git a/templates/admin/users.html.twig b/templates/legacy/admin/users.html.twig similarity index 96% rename from templates/admin/users.html.twig rename to templates/legacy/admin/users.html.twig index 9e8106b3..b561e773 100644 --- a/templates/admin/users.html.twig +++ b/templates/legacy/admin/users.html.twig @@ -1,4 +1,4 @@ -{% extends 'admin/_admin_layout.html.twig' %} +{% extends 'admin/_admin_legacy_layout.html.twig' %} {% block page_content %}
diff --git a/templates/general/about_service.html.twig b/templates/legacy/general/about_service.html.twig similarity index 99% rename from templates/general/about_service.html.twig rename to templates/legacy/general/about_service.html.twig index 97d7612f..6d0b05ae 100644 --- a/templates/general/about_service.html.twig +++ b/templates/legacy/general/about_service.html.twig @@ -1,4 +1,4 @@ -{% extends 'layout.html.twig' %} +{% extends 'legacy_layout.html.twig' %} {% block page_title %}{{ 'general.static_page.about_service'|trans }}{% endblock %} diff --git a/templates/general/all_radio_tables.html.twig b/templates/legacy/general/all_radio_tables.html.twig similarity index 94% rename from templates/general/all_radio_tables.html.twig rename to templates/legacy/general/all_radio_tables.html.twig index e81e7e29..fc0d79c4 100644 --- a/templates/general/all_radio_tables.html.twig +++ b/templates/legacy/general/all_radio_tables.html.twig @@ -1,4 +1,4 @@ -{% extends 'layout.html.twig' %} +{% extends 'legacy_layout.html.twig' %} {% block page_title %}{{ 'general.all_radio_tables.title'|trans }}{% endblock %} diff --git a/templates/general/contact.html.twig b/templates/legacy/general/contact.html.twig similarity index 99% rename from templates/general/contact.html.twig rename to templates/legacy/general/contact.html.twig index eaaea0a3..09705d64 100644 --- a/templates/general/contact.html.twig +++ b/templates/legacy/general/contact.html.twig @@ -1,4 +1,4 @@ -{% extends 'layout.html.twig' %} +{% extends 'legacy_layout.html.twig' %} {% block page_title %}{{ 'general.static_page.contact'|trans }}{% endblock %} diff --git a/templates/general/homepage.html.twig b/templates/legacy/general/homepage.html.twig similarity index 98% rename from templates/general/homepage.html.twig rename to templates/legacy/general/homepage.html.twig index 3b7c2ffb..6d314046 100644 --- a/templates/general/homepage.html.twig +++ b/templates/legacy/general/homepage.html.twig @@ -1,4 +1,4 @@ -{% extends 'layout.html.twig' %} +{% extends 'legacy_layout.html.twig' %} {% macro print_date(date) %}