templates/base.html.twig line 1

Open in your IDE?
  1. {% set configuration = get_config() %}
  2. <!DOCTYPE html>
  3. <html lang="pl">
  4.     <head>
  5.         <meta charset="UTF-8">
  6.         <meta name="viewport" content="width=device-width, initial-scale=1">
  7.         <meta name="title" content="{{ configuration.meta_title }}">
  8.         <meta name="description" content="{{ configuration.meta_description }}">
  9.         <meta name="keywords" content="{{ configuration.meta_keywords }}">
  10.         <meta name="robots" content="{{ configuration.meta_robots }}">
  11.         <title>{% block title %}{{ configuration.site_title }}{% endblock %}</title>
  12.         {% block og_meta %}{% endblock %}
  13.         <link rel="preconnect" href="https://fonts.googleapis.com">
  14.         <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  15.         <link href="https://fonts.googleapis.com/css2?family=Oxygen:wght@300;400;700&display=swap" rel="stylesheet">
  16.         <link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono&display=swap" rel="stylesheet">
  17.         {% block stylesheets %}
  18.             <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
  19.         {% endblock %}
  20.         <link rel="apple-touch-icon" sizes="180x180" href="{{ '/apple-touch-icon.png' }}">
  21.         <link rel="icon" type="image/png" sizes="32x32" href="{{ '/favicon-32x32.png' }}">
  22.         <link rel="icon" type="image/png" sizes="16x16" href="{{ '/favicon-16x16.png' }}">
  23.         <link rel="canonical" href="{{ 'https://' ~ app.request.server.get('HTTP_HOST') ~ (app.request.server.get('REQUEST_URI') == '/' ? '' : app.request.server.get('REQUEST_URI')) }}">
  24.     </head>
  25.     <body>
  26.         {% block body %}
  27.         {% endblock %}
  28.         {% block javascripts %}
  29.             <script src="{{ asset('/js/jquery.min.js') ~ '?' ~ version() }}"></script>
  30.             <script src="{{ asset('/js/jquery-ui.min.js') ~ '?' ~ version() }}"></script>
  31.             <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.10.2/dist/umd/popper.min.js" integrity="sha384-7+zCNj/IqJ95wo16oMtfsKbZ9ccEh31eOz1HGyDuCQ6wgnyJNSYdrPa03rtR1zdB" crossorigin="anonymous"></script>
  32.             <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.min.js" integrity="sha384-QJHtvGhmr9XOIpI6YVutG+2QOK9T+ZnN4kzFN1RtK3zEFEIsxhlmWl5/YESvpZ13" crossorigin="anonymous"></script>
  33.             <script src="{{ asset('/js/app.js') ~ '?' ~ version() }}"></script>
  34.         {% endblock %}
  35.     </body>
  36. </html>