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
{
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>
<h1>Slovocast</h1>
</div>

View File

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