html.html.twig 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for the basic structure of a single Drupal page.
  5. *
  6. * Variables:
  7. * - logged_in: A flag indicating if user is logged in.
  8. * - root_path: The root path of the current page (e.g., node, admin, user).
  9. * - node_type: The content type for the current node, if the page is a node.
  10. * - head_title: List of text elements that make up the head_title variable.
  11. * May contain one or more of the following:
  12. * - title: The title of the page.
  13. * - name: The name of the site.
  14. * - slogan: The slogan of the site.
  15. * - page_top: Initial rendered markup. This should be printed before 'page'.
  16. * - page: The rendered page markup.
  17. * - page_bottom: Closing rendered markup. This variable should be printed after
  18. * 'page'.
  19. * - db_offline: A flag indicating if the database is offline.
  20. * - placeholder_token: The token for generating head, css, js and js-bottom
  21. * placeholders.
  22. *
  23. * @see template_preprocess_html()
  24. *
  25. * @ingroup themeable
  26. */
  27. #}
  28. <!DOCTYPE html>
  29. <html{{ html_attributes }}>
  30. <head>
  31. <head-placeholder token="{{ placeholder_token }}">
  32. <title>{{ head_title|safe_join(' | ') }}</title>
  33. <css-placeholder token="{{ placeholder_token }}">
  34. <js-placeholder token="{{ placeholder_token }}">
  35. <script src="https://unpkg.com/scrollreveal@4.0.0/dist/scrollreveal.min.js"></script>
  36. </head>
  37. <body{{ attributes }}>
  38. {#
  39. Keyboard navigation/accessibility link to main content section in
  40. page.html.twig.
  41. #}
  42. <a href="#main-content" class="visually-hidden focusable">
  43. {{ 'Skip to main content'|t }}
  44. </a>
  45. {{ page_top }}
  46. {{ page }}
  47. {{ page_bottom }}
  48. <js-bottom-placeholder token="{{ placeholder_token }}">
  49. <script type="text/javascript">
  50. (tarteaucitron.job = tarteaucitron.job || []).push('youtube');
  51. (tarteaucitron.job = tarteaucitron.job || []).push('facebook');
  52. (tarteaucitron.job = tarteaucitron.job || []).push('linkedin');
  53. tarteaucitron.user.matomoId = 4;
  54. (tarteaucitron.job = tarteaucitron.job || []).push('matomohightrack');
  55. </script>
  56. </body>
  57. </html>