From 53c052b05797cbe9e937df336f0d1067cdfefe84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Heiko=20G=C3=B6b?= Date: Wed, 13 Oct 2021 11:58:11 +0200 Subject: [PATCH] nr 6. twig base.html.twig test --- src/Resources/theme.json | 22 ++++++++++---------- src/Resources/views/documents/base.html.twig | 9 ++++++++ 2 files changed, 20 insertions(+), 11 deletions(-) create mode 100644 src/Resources/views/documents/base.html.twig diff --git a/src/Resources/theme.json b/src/Resources/theme.json index 532dd5c..2d2b054 100644 --- a/src/Resources/theme.json +++ b/src/Resources/theme.json @@ -2,21 +2,21 @@ "name": "IniHausschuhTheme", "author": "Shop-Angels", "views": [ - "@Storefront", - "@RHWebMagnify", - "@Plugins", - "@IniHausschuhTheme" + "@Storefront", + "@RHWebMagnify", + "@Plugins", + "@IniHausschuhTheme" ], "style": [ - "app/storefront/src/scss/overrides.scss", - "@RHWebMagnify", - "app/storefront/src/scss/base.scss", - "@Plugins" + "app/storefront/src/scss/overrides.scss", + "@RHWebMagnify", + "app/storefront/src/scss/base.scss", + "@Plugins" ], "script": [ - "@Storefront", - "app/storefront/dist/storefront/js/ini-hausschuh-theme.js", - "@Plugins" + "@Storefront", + "app/storefront/dist/storefront/js/ini-hausschuh-theme.js", + "@Plugins" ], "asset": [ "@Storefront", diff --git a/src/Resources/views/documents/base.html.twig b/src/Resources/views/documents/base.html.twig new file mode 100644 index 0000000..a2b343f --- /dev/null +++ b/src/Resources/views/documents/base.html.twig @@ -0,0 +1,9 @@ +{% sw_extends '@Framework/documents/base.html.twig' %} +{{ parent() }} + + + {% block footer %} +

mein neuer Text

+ + {% endblock %} + \ No newline at end of file