Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

59 lines
1.8KB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  6. <title>{% block title %}Welcome!{% endblock %}</title>
  7. {% if block('meta_title') is defined %}
  8. {% set block_meta_title = block('meta_title') %}
  9. {% if block_meta_title is not empty %}
  10. <meta name="title" content="{{ block_meta_title|raw }}"/>
  11. {% endif %}
  12. {% endif %}
  13. {% if block('meta_description') is defined %}
  14. {% set block_meta_description = block('meta_description') %}
  15. {% if block_meta_description is not empty %}
  16. <meta name="description" content="{{ block_meta_description|raw }}"/>
  17. {% endif %}
  18. {% endif %}
  19. <meta property="og:title" content="{% block ogTitle %}{{ 'meta.title'|trans }}{% endblock %}"/>
  20. <meta property="og:type" content="{% block ogType %}website{% endblock %}"/>
  21. <meta property="og:image"
  22. content="{% block ogImage %}{{ asset('bundles/mwebcore/img/facebook-banner.jpg', null, true) }}{% endblock %}"/>
  23. <meta property="og:description" content="{% block ogDesciption %}{{ 'meta.description'|trans }}{% endblock %}"/>
  24. <meta property="og:url" content="{{ app.request.uri }}"/>
  25. <link rel="icon" type="image/png" href="{{ asset('assets/img/favicon.png') }}"/>
  26. {% block stylesheets %}
  27. {{ encore_entry_link_tags('backend-common') }}
  28. {% endblock %}
  29. </head>
  30. <body>
  31. {% block body %}
  32. <body id="default">
  33. <header>
  34. <h1>Projet par défaut La clic !</h1>
  35. {% include "block/nav.html.twig" %}
  36. </header>
  37. <div class="container">
  38. {% block content %}
  39. {% endblock %}
  40. </div>
  41. <footer></footer>
  42. </body>
  43. {% endblock %}
  44. {% block javascripts %}
  45. {{ encore_entry_script_tags('backend-common') }}
  46. {% endblock %}
  47. </body>
  48. </html>