layout.html.twig 302 B

123456789101112131415161718192021
  1. <!DOCTYPE html>
  2. <html lang="fr">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Title</title>
  6. </head>
  7. <body>
  8. <header>
  9. <h1>{% block title %}{% endblock %}</h1>
  10. </header>
  11. <main>
  12. {% block body %}Toto
  13. {% endblock %}
  14. </main>
  15. <footer>
  16. <p>Ceci est un footer</p>
  17. </footer>
  18. </body>
  19. </html>