templates/base.html.twig line 1

  1. <!DOCTYPE html>
  2. <html lang="fr">
  3.     <head>
  4.         <meta charset="UTF-8">
  5.         <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6.         <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7.         <title>{% block title %}HYPA{% endblock %}</title>
  8.         <link rel="icon" href="{{ asset("images/logo_hypa.png") }}">
  9.         <link rel="stylesheet" href="{{ asset("css/reset.css") }}">
  10.         <link rel="stylesheet" href="{{ asset("css/default/style.css") }}">
  11.         {# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
  12.         {% block stylesheets %}
  13.             <style>
  14.                 @font-face {
  15.                     font-family: "KaiTi";
  16.                     font-style: normal;
  17.                     font-weight: 400;
  18.                     src: url({{ asset('police/KaiTi.ttf') }}) format("truetype");
  19.                 }
  20.                 @font-face {
  21.                     font-family: "hanmufa";
  22.                     font-style: normal;
  23.                     font-weight: 400;
  24.                     src: url({{ asset('police/hanmufa.ttf') }}) format("truetype");
  25.                 }
  26.             </style>
  27.         {% endblock %}
  28.         {% block javascripts %}
  29.         {% endblock %}
  30.     </head>
  31.     <body>
  32.         {% block header %}{% endblock %}
  33.         {% block body %}{% endblock %}
  34.         {% block footer %}{% endblock %}
  35.     </body>
  36. </html>