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
|
||||
{
|
||||
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>
|
||||
<h1>Slovocast</h1>
|
||||
</div>
|
||||
|
@ -1,20 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>{% block "page_title" %}{% endblock %}</title>
|
||||
<title>{% block page_title %}{% endblock %}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<header>
|
||||
{% block "header" %}{% endblock %}
|
||||
{% block header %}{% endblock %}
|
||||
</header>
|
||||
|
||||
<main>
|
||||
{% block "content" %}{% endblock %}
|
||||
{% block content %}{% endblock %}
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
{% blcok "footer" %}{% endblock %}
|
||||
{% block footer %}{% endblock %}
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user