templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3.     <head>
  4.         <meta charset="UTF-8">
  5.         <title>{% block title %}Welcome!{% endblock %}</title>
  6.         <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text></svg>">
  7.         {% block stylesheets %}
  8.             <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" rel="stylesheet">
  9.             <link rel="stylesheet" href="{{ asset('/css/style.css') }}">
  10.             <link rel="preconnect" href="https://fonts.googleapis.com">
  11.             <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  12.             <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@500&family=Pacifico&family=Varela+Round&display=swap" rel="stylesheet"> 
  13.         {% endblock %}
  14.         {% block javascripts %}
  15.         {% endblock %}
  16.     </head>
  17.     <body>
  18.         {% block header %} 
  19.             {{ render(controller(
  20.                 'App\\Controller\\MainController::header', {max: 1}
  21.             )) }}
  22.         {% endblock %}
  23.         {% block body %}
  24.         {% endblock %}
  25.          
  26.         {% block footer %}  
  27.             {{ render(controller(
  28.                 'App\\Controller\\MainController::footer', {max: 1}
  29.             )) }}
  30.         {% endblock %}
  31.     </body>
  32. </html>