Fix references the templates

This commit is contained in:
Dave Smith-Hayes 2024-05-15 22:27:06 -04:00
parent 5cfb45dd7e
commit 98813f3c47
3 changed files with 7 additions and 7 deletions

View File

@ -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');
} }
} }

View File

@ -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>

View File

@ -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>