templates/front/theme1/hub_actualites.html.twig line 1

Open in your IDE?
  1. {% extends "front/"~ app.request.server.get('APP_THEME') ~"/base.html.twig" %}
  2. {% block stylesheets %}
  3.       {{parent()}}
  4. {% endblock %}
  5. {% block body %}
  6.          <div class="page_cms page_activite pt-5">
  7.                 <div class="breadcrumb-style-default">
  8.                     <div class="container">
  9.                         <div class="row">
  10.                             <div class="col-lg-12">
  11.                                 <div class="inner text-center">
  12.                                     {% if breadcrumb is defined and breadcrumb is not empty %}
  13.                                         {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/breadcrumb.html.twig')}}
  14.                                         <h1 class="page-title">{{breadcrumb|last.name}}</h1>
  15.                                     {% endif %}
  16.                                 </div>
  17.                             </div>
  18.                         </div>
  19.                     </div>
  20.                 </div>
  21.                 <div class="container-fluid wrapper">
  22.                     <div class="row">
  23.                         <div class="col-sm-12 text-center">
  24.                             <h2>Toutes nos actualités </h2>
  25.                             <p> Lorem Ipsum is simply dummy text of the printing and typesetting industry. 
  26.                                 Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, 
  27.                                 when an unknown printer took a galley of type and scrambled it to make a type specimen book. 
  28.                                 It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
  29.                         </div>
  30.                     </div>
  31.                     {% if actualites is defined and actualites is not empty %}
  32.                         <div class="row">
  33.                             <div class="col-sm-12 col-md-12">
  34.                                 <div class="panel panel-success mb-4">
  35.                                     <div class="panel-heading"><span class="panel-title"> Actualités</span></div>
  36.                                     <div class="panel-body">
  37.                                         <ul>   
  38.                                             {% for item in actualites %}
  39.                                                 <li>
  40.                                                     <a href="{{path('page',{slug:item.slug})}}" title="{{item.titre}}" target="_top"> {{item.titre}}</a>
  41.                                                 </li>
  42.                                             {% endfor %}                                                                                                                                                        
  43.                                         </ul>  
  44.                                     </div>
  45.                                 </div>
  46.                             </div>
  47.                         </div>
  48.                     {% endif %}
  49.                 </div>
  50.          </div> 
  51. {% endblock %}