diff --git a/src/template/base.html.twig b/src/template/base.html.twig index 5e3583a..74f4d3d 100644 --- a/src/template/base.html.twig +++ b/src/template/base.html.twig @@ -3,8 +3,15 @@ {% block title %}Online Shop{% endblock %} + + + + + + + {% block body %}{% endblock %} - \ No newline at end of file + diff --git a/src/template/frames/default.html.twig b/src/template/frames/default.html.twig new file mode 100644 index 0000000..a4cae94 --- /dev/null +++ b/src/template/frames/default.html.twig @@ -0,0 +1,10 @@ +{% extends "base.html.twig" %} +{% block body %} +
+ + {% block content %} + {% endblock %} +
+{% endblock %} \ No newline at end of file diff --git a/src/template/standart/homepage.html.twig b/src/template/standart/homepage.html.twig index 7258be5..510a2e0 100644 --- a/src/template/standart/homepage.html.twig +++ b/src/template/standart/homepage.html.twig @@ -1,3 +1,3 @@ -{% extends "base.html.twig" %} -{% block title %}Online Shop{% endblock %} -{% block body %}Welcome to the online shop ;){% endblock %} \ No newline at end of file +{% extends "frames/default.html.twig" %} +{% block title %}Homepage{% endblock %} +{% block content %}Welcome to the online shop ;){% endblock %}