templates/front/posts.html.twig line 1

Open in your IDE?
  1. {% extends "base.html.twig" %}
  2. {% set currentPage = "navbar.posts"|trans %}
  3. {% block body_tag %}
  4.     data-posts-limit="{{ postsLimit }}"
  5. {% endblock %}
  6. {% block body %}
  7.     <section class="position-relative section-grey">
  8.         <div class="container position-relative zi-9 containet-posts container container-publications pab-100-md pab-80-sm pab-40 pat-65">
  9.             {#        {% include "front/menu.html.twig" with {'menu':{("menu.posts"|trans):"#"} %}#}
  10.             {% include "front/menu.html.twig" with {'menu':{("menu.posts"|trans):"#"}} %}
  11.             <h2 class="text-center titleh1 mab-80" data-aos="fade-in"  data-aos-duration="800" >{{"posts.title"|trans}}</h2>
  12.             <div data-aos="fade-in"  data-aos-duration="800" data-aos-delay="200">
  13.                 {% include "form/postsFilterForm.html.twig" %}
  14.             </div>
  15.             <div class="posts-parent ">
  16.                 {% include "front/postsList.html.twig" %}
  17.                 {% if posts|length == postsLimit %}
  18.                     <div class="text-center">
  19.                         <button class="btn btn1 loadMorePosts">{{ "posts.load_more.btn"|trans }}</button>
  20.                     </div>
  21.                 {% endif %}
  22.             </div>
  23.         </div>
  24.         <img src="{{ asset('assets/img/Motif.png') }}" alt="background motif" class="uexpmv w-100 b-0 l-0 img-fit position-absolute"/>
  25.     </section>
  26. {% endblock %}
  27. {% block javascripts %}
  28.     {{ parent() }}
  29.     {{ encore_entry_script_tags('posts') }}
  30. {% endblock %}