src/Hitso/Bundle/CommonBundle/Resources/views/Front/HomePage/index.html.twig line 1

Open in your IDE?
  1. {% extends 'HitsoCommonBundle::layout.html.twig' %}
  2. {% block stylesheets %}
  3.     {{ parent() }}
  4.     <link rel="stylesheet" href="{{ asset('bundles/hitsocommon/hitsox-default-theme/source/css/index-critical.css') }}">
  5.     <link rel="preload" as="style"
  6.           href="{{ preload(asset('bundles/hitsocommon/hitsox-default-theme/source/css/index-critical.css'), { as: 'style' }) }}">
  7.     <link rel="preload" href="{{ preload(asset('bundles/hitsocommon/hitsox-default-theme/source/css/index.css'), { as: 'style' }) }}"
  8.           as="style" onload="this.onload=null;this.rel='stylesheet'">
  9. {% endblock %}
  10. {% block body_class %}{{ parent() }} page--home{% endblock %}
  11. {% block content %}
  12.     <main class="main">
  13.         {% cache cache_hash('get_started') {time: 3600} %}
  14.             {% include 'HitsoCommonBundle:Front/HomePage:get_started.html.twig' %}
  15.         {% endcache %}
  16.         {% cache cache_hash('banner') {time: 3600} %}
  17.             {% include 'HitsoCommonBundle:Front/HomePage:banner.html.twig' %}
  18.         {% endcache %}
  19.         {% cache cache_hash('get_started') {time: 3600} %}
  20.             {% include 'HitsoCommonBundle:Front/HomePage:whats_new.html.twig' %}
  21.         {% endcache %}
  22.         {% cache cache_hash('technology_showcase') {time: 3600} %}
  23.             {% include 'HitsoCommonBundle:Front/HomePage:technology_showcase.html.twig' %}
  24.         {% endcache %}
  25.         {% cache cache_hash('possibilities_showcase') {time: 3600} %}
  26.             {% include 'HitsoCommonBundle:Front/HomePage:possibilities_showcase.html.twig' %}
  27.         {% endcache %}
  28.         {% cache cache_hash('blog') {time: 3600} %}
  29.             {% include 'HitsoCommonBundle:Front/HomePage:blog.html.twig' %}
  30.         {% endcache %}
  31.         {% cache cache_hash('features') {time: 3600} %}
  32.             {% include 'HitsoCommonBundle:Front/HomePage:features.html.twig' %}
  33.         {% endcache %}
  34.         {% cache cache_hash('contact') {time: 3600} %}
  35.             {% include 'HitsoCommonBundle:Front/HomePage:contact.html.twig' %}
  36.         {% endcache %}
  37.     </main>
  38. {% endblock %}
  39. {% block footer_javascripts %}
  40.     {{ parent() }}
  41.     <script src="{{ asset('bundles/hitsocommon/hitsox-default-theme/source/js/index.js') }}" defer></script>
  42. {% endblock %}