templates/themesWebsite/blog_cvs/base.html.twig line 1

Open in your IDE?
  1. {% set connectUser = false %}
  2. {% set connectUser2 = false %}
  3. {% if app.user is not null %}
  4.     {% set connectUser = true %}
  5.     {% set connectUser2 = false %}
  6. {% endif %}
  7. {% set pathAbsolute = app.request.schemeAndHttpHost ~ app.request.requestUri %}
  8. {% set paramTool = getCoreToolsList("blog") %}
  9. {% set logo = paramTool['logo'] %}
  10. {% set logo_width = paramTool['logo_width'] %}
  11. {% set logo_height = paramTool['logo_height'] %}
  12. {% set logoMobile = paramTool['logomobile'] %}
  13. {% set logoMobile_width = paramTool['logomobile_width'] %}
  14. {% set logoMobile_height = paramTool['logomobile_height'] %}
  15. {% set twitter = paramTool['twitter'] %}
  16. {% set facebook = paramTool['facebook'] %}
  17. {% set instagram = paramTool['instagram'] %}
  18. {% set youtube = paramTool['youtube'] %}
  19. {% set linkedin = paramTool['linkedin'] %}
  20. {% set favicon = paramTool['favicon'] %}
  21. {% set websitename = paramTool['websitename'] %}
  22. {% set htmlTrack = paramTool['htmltrack'] %}
  23. {% set htmlTrack2 = paramTool['htmltrack2'] %}
  24. {% set domain = paramTool['absolute_domain'] %}
  25. {% set lang = paramTool['lang_HTML'] %}
  26. <!DOCTYPE html>
  27. <html class="no-js" lang="{{ lang }}">
  28.     <head>
  29.         <meta charset="utf-8">
  30.         <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge" /><![endif]-->
  31.         <title>{% block title %}{% endblock title %}</title>
  32.         <meta name="language" content="{{ lang }}" />
  33.         <meta name="copyright" content="{{ websitename }}" />
  34.         <meta name="robots" content="{% block robots %}index,follow{% endblock robots %}" />
  35.         <meta name="description" content="{% block description %}{% endblock description %}" />
  36.         <meta name="viewport" content="initial-scale=1.0" />
  37.         <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, maximum-scale=6, minimum-scale=1, minimal-ui" />
  38.         {% block meta_social %}{% endblock meta_social %}
  39.         {% block meta %}{% endblock meta %}
  40.         {% block canonical %}{% include "components/canonical.html.twig" with {'path':pathAbsolute} %}{% endblock canonical %}
  41.         <link rel="alternate" type="application/rss+xml" title="Articles de {{ websitename }}" href="{{ domain ~ path('rss') }}" />
  42.         {% include "components/dns-prefetch.html.twig" %}
  43.         {% include "components/favicon.html.twig" with {'favicon':favicon} %}
  44.         {% include "/themesWebsite/blog_cvs/components/stylesheets.html.twig" %}
  45.         {#% include "components/editor_css.html.twig" %}
  46.         {% include "components/codemirror_css.html.twig" %#}
  47.         {% block css %}{% endblock css %}
  48.         {% include "/themesWebsite/blog_cvs/components/scripts_header.html.twig" %}
  49.         {% block js %}{% endblock js %}
  50.         {{ htmlTrack|raw }}
  51.     </head>
  52.     <body class="green-theme">
  53.         <div id="main-wrapper">
  54.             {% include "/themesWebsite/blog_cvs/components/header.html.twig" %}
  55.             {% block start_body %}{% endblock start_body %}
  56.             {% block body %}{% endblock body %}
  57.             {% include "/themesWebsite/blog_cvs/components/footer.html.twig" with {'logo':logo} %}
  58.         </div>
  59.         {% block footerbody %}{% endblock footerbody %}
  60.         {% block footer_body %}{% endblock footer_body %}
  61.         {% include "/themesWebsite/blog_cvs/components/scripts_footer.html.twig" %}
  62.         {% include "components/flashmessage.html.twig" %}
  63.         {% include "components/editor_js.html.twig" %}
  64.         {% include "components/codemirror_js.html.twig" %}
  65.         {% block footer_js %}{% endblock footer_js %}
  66.         {% block footerjs %}{% endblock footerjs %}
  67.         {{ htmlTrack2|raw }}
  68.     </body>
  69. </html>