templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="{{ locale }}">
  3.     <head>
  4.         {% block meta %}
  5.             <meta charset="utf-8">
  6.             <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7.             <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  8.             <meta name="author" content="Michael Hack Software e.K.">
  9.             <meta name="csrf-token" content="{{ csrf_token('main') }}">
  10.         {% endblock %}
  11.         {% block title %}
  12.             <title>
  13.                 {%- if page_title and page_showtitle %}{{ page_title | striptags }} - {% endif -%}
  14.                 {{- env('APP_TITLE') -}}
  15.             </title>
  16.         {% endblock %}
  17.         {% block stylesheets %}{% endblock %}
  18.     </head>
  19.     {% block body %}
  20.         <body>
  21.             {% block main %}
  22.                 <h1>{{ page_title }}</h1>
  23.                 {% block content %}{% endblock %}
  24.             {% endblock %}
  25.             {% block scripts %}{% endblock %}
  26.         </body>
  27.     {% endblock %}
  28. </html>