Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

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. {#
  27. {% block stylesheets %}
  28. {{ encore_entry_link_tags('tabler') }}
  29. {% endblock %}#}
  30. </head>
  31. <body>
  32. {% block body %}
  33. <body id="default">
  34. <header>
  35. <h1>Projet par défaut La clic !</h1>
  36. {% include "block/nav.html.twig" %}
  37. </header>
  38. <div class="container">
  39. {% block content %}
  40. {% endblock %}
  41. </div>
  42. <footer></footer>
  43. </body>
  44. {% endblock %}
  45. {#{% block javascripts %}
  46. {{ encore_entry_script_tags('tabler') }}
  47. {% endblock %}#}
  48. </body>
  49. </html>