diff --git a/code/src/Controller/HomePage.php b/code/src/Controller/HomePage.php index f43657b..cab9b84 100644 --- a/code/src/Controller/HomePage.php +++ b/code/src/Controller/HomePage.php @@ -8,6 +8,6 @@ class HomePage extends Controller { public function respond(): Response { - return $this->render('home'); + return $this->render('home.twig'); } } diff --git a/code/templates/home.twig b/code/templates/home.twig index 9629149..6247624 100644 --- a/code/templates/home.twig +++ b/code/templates/home.twig @@ -1,6 +1,6 @@ -{% extends 'layouts/skeleton' %} +{% extends 'layouts/skeleton.twig' %} -{% block "content" %} +{% block content %}

Slovocast

diff --git a/code/templates/layouts/skeleton.twig b/code/templates/layouts/skeleton.twig index 2acd9b9..4e617e8 100644 --- a/code/templates/layouts/skeleton.twig +++ b/code/templates/layouts/skeleton.twig @@ -1,20 +1,20 @@ - {% block "page_title" %}{% endblock %} + {% block page_title %}{% endblock %}
- {% block "header" %}{% endblock %} + {% block header %}{% endblock %}
- {% block "content" %}{% endblock %} + {% block content %}{% endblock %}