Fix references the templates
This commit is contained in:
parent
5cfb45dd7e
commit
98813f3c47
@ -8,6 +8,6 @@ class HomePage extends Controller
|
|||||||
{
|
{
|
||||||
public function respond(): Response
|
public function respond(): Response
|
||||||
{
|
{
|
||||||
return $this->render('home');
|
return $this->render('home.twig');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{% extends 'layouts/skeleton' %}
|
{% extends 'layouts/skeleton.twig' %}
|
||||||
|
|
||||||
{% block "content" %}
|
{% block content %}
|
||||||
<div>
|
<div>
|
||||||
<h1>Slovocast</h1>
|
<h1>Slovocast</h1>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,20 +1,20 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<title>{% block "page_title" %}{% endblock %}</title>
|
<title>{% block page_title %}{% endblock %}</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<header>
|
<header>
|
||||||
{% block "header" %}{% endblock %}
|
{% block header %}{% endblock %}
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
{% block "content" %}{% endblock %}
|
{% block content %}{% endblock %}
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
{% blcok "footer" %}{% endblock %}
|
{% block footer %}{% endblock %}
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
Reference in New Issue
Block a user