templates/blog.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block stylesheets %}
  3.     {{ parent() }}
  4.     <link href="{{ asset('/css/index.css') ~ '?' ~ version() }}" rel="stylesheet">
  5.     <link href="{{ asset('/css/blog.css') ~ '?' ~ version() }}" rel="stylesheet">
  6.     <link href="{{ asset('/css/section-title.css') ~ '?' ~ version() }}" rel="stylesheet">
  7.     <link href="{{ asset('/css/filters.css') ~ '?' ~ version() }}" rel="stylesheet">
  8.     <link href="{{ asset('/css/breadcrumbs.css') ~ '?' ~ version() }}" rel="stylesheet">
  9.     <link href="{{ asset('/css/rwd.css') ~ '?' ~ version() }}" rel="stylesheet">
  10.     <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css">
  11. {% endblock %}
  12. {% block title %}Blog - {{ parent() }}{% endblock %}
  13. {% block body %}
  14.     <main>
  15.         <div class="container-fluid no-padding-lr">
  16.             {% include 'partials/_header.html.twig' %}
  17.             <div class="container-xl container-xl-md container-xl-s">
  18.                 <nav aria-label="breadcrumb">
  19.                     <ol class="breadcrumb">
  20.                         <li class="breadcrumb-item"><a href="{{ url('index') }}">Strona główna</a></li>
  21.                         <li class="breadcrumb-item active" aria-current="page">Blog</li>
  22.                     </ol>
  23.                 </nav>
  24.                 {% include 'partials/_filter_section.html.twig' with {'data': {'url': '/blog', 'title': 'Zapoznaj się z naszymi artykułami'}} %}
  25.                 {% for post in blogPosts %}
  26.                     {% include 'partials/_blog_section.html.twig' %}
  27.                 {% endfor %}
  28.                 {% if blogPosts_count > 9 %}
  29.                     <div class="next-button">
  30.                         <a class="button-link blog-next-elements" data-number="9" href="#"><span>zobacz kolejne</span></a>
  31.                     </div>
  32.                 {% endif %}
  33.                 {% include 'partials/_do-you-like.html.twig' %}
  34.             </div>
  35.         </div>
  36.         {{ include('partials/_footer.html.twig') }}
  37.     </main>
  38. {% endblock %}
  39. {% block javascripts %}
  40.     {{ parent() }}
  41.     <script type="text/javascript" src="{{ asset('js/filter.js') }}"></script>
  42. {% endblock %}