templates/home/index.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}KOMİLİ{% endblock %}
  3. {% block head %}
  4.     {{ parent() }}
  5.     <meta name="description" content="{{ 'HOME_META_DESCRIPTION'|trans}}">
  6.     <meta name="keywords" content="{{ 'HOME_META_KEYWORDS'|trans}}">
  7. {% endblock %}
  8. {% block body %}
  9.     <main>
  10.         {{ include('home/_slider.twig') }}
  11.         {{ include('home/_product.twig') }}
  12.         {{ include('home/_advertising.twig') }}
  13.         {{ include('home/_blog.twig') }}
  14.     </main>
  15. {% endblock %}
  16. {% block javascripts %}
  17.     {{ parent() }}
  18.     <script>
  19.         $(".komili-home-hero").owlCarousel({
  20.             loop: true,
  21.             nav: true,
  22.             lazyLoad: true,
  23.             margin: 0,
  24.             items: 1,
  25.             autoplay: true,
  26.             autoplayTimeout: 6000,
  27.             autoplayHoverPause: true,
  28.             responsiveClass: true,
  29.         });
  30.                 $(".komili-home-videos-slider").owlCarousel({
  31.                     loop: true,
  32.                     nav: true,
  33.                     lazyLoad: true,
  34.                     margin: 0,
  35.                     items: 1,
  36.                     autoplay: true,
  37.                     autoplayTimeout: 6000,
  38.                     autoplayHoverPause: true,
  39.                     responsiveClass: true,
  40.                 });
  41.      /*   $(".komili-home-products-slider").owlCarousel({
  42.             loop: true,
  43.             nav: true,
  44.             lazyLoad: true,
  45.             margin: 30,
  46.             autoplay: false,
  47.             responsiveClass: true,
  48.             responsive: {
  49.                 0: {
  50.                     items: 1,
  51.                     autoplay: true,
  52.                     autoplayTimeout: 6000,
  53.                     autoplayHoverPause: true
  54.                 },
  55.                 480: {
  56.                     items: 1,
  57.                     autoplay: true,
  58.                     autoplayTimeout: 6000,
  59.                     autoplayHoverPause: true
  60.                 },
  61.                 768: {
  62.                     items: 2
  63.                 }
  64.             }
  65.         });*/
  66.     </script>
  67. {% endblock %}