templates/site/template_2/detailsArticle.html.twig line 1

Open in your IDE?
  1. {% extends 'baseTemplate_2.html.twig' %}
  2. {% import 'macro.html.twig' as traiteinfo %}
  3. {% import 'macroEntete.html.twig' as traiteinfoEntete %}
  4. {% import 'macroAbout.html.twig' as traiteinfoAbout %}
  5. {% import 'macroShop.html.twig' as traiteinfoShop %}
  6. {% import 'presentation/macroHead.html.twig' as traiteinfoHead %}
  7. {% block body %}
  8.   {% set inc = 0 %}
  9.   
  10. <body class="home-style2">
  11.   <div class="full-width-header header-style1 home1-modifiy">
  12.                 <!--Header Start-->
  13.         <div class="main-content">
  14.             <div class="full-width-header home8-style4 main-home">
  15.                         <!--Header Start-->
  16.                 {{ traiteinfoHead.infoHead(typeSite,objetAbonne,listeMenu,'#000') }}
  17.             </div>
  18.                     <!--Header End-->
  19.         </div>
  20.             <!--Full width header End-->
  21.      <div class="main-content">
  22.             <!-- Breadcrumbs Start -->
  23.             <div class="rs-breadcrumbs breadcrumbs-overlay" style="background: #f3f3f3;width:100%;height:100px;">
  24.                 <div class="breadcrumbs-img">
  25.                     <img src="assets/images/breadcrumbs/2.jpg" alt="Breadcrumbs Image">
  26.                     
  27.                 </div>
  28.                 <div class="breadcrumbs-text white-color">
  29.                     <h1 class="page-title">{{article.titre}}</h1>
  30.                     <ul>
  31.                         <li>
  32.                             <a class="active" href="#">Accueil</a>
  33.                         </li>
  34.                         <li>{{article.titre}}</li>
  35.                     </ul>
  36.                 </div>
  37.             </div>
  38.             <!-- Breadcrumbs End -->            
  39.            <!-- Blog Section Start -->
  40.             <div class="rs-inner-blog orange-color pt-100 pb-100 md-pt-70 md-pb-70">
  41.                 <div class="container">
  42.                     <div class="row">
  43.                         <div class="col-lg-4 col-md-12 order-last">
  44.                             <div class="widget-area">
  45.                                 
  46.                                 <div class="recent-posts mb-50">
  47.                                     <h3 class="widget-title">Dans la même rubrique</h3>
  48.                                     <ul>
  49.                                         {% for unArticle in  article.rubrique.articles %}
  50.                                         <li><a href="{{path('app_admin_details_article',{'id':unArticle.id})}}">{{unArticle.titre}}</a></li>
  51.                                         {% endfor %}
  52.                                     </ul>
  53.                                 </div>
  54.                                {# <div class="widget-archives mb-50">
  55.                                     <h3 class="widget-title">Archives</h3>
  56.                                     <ul>
  57.                                         <li><a href="#">September 2020</a></li>
  58.                                         <li><a href="#">September 2020</a></li>
  59.                                     </ul>
  60.                                 </div>   
  61.                                 <div class="widget-archives mb-50">
  62.                                     <h3 class="widget-title">Categories</h3>
  63.                                     <ul>
  64.                                         <li><a href="#">College</a></li>
  65.                                         <li><a href="#">High School</a></li>
  66.                                         <li><a href="#">Primary</a></li>
  67.                                         <li><a href="#">School</a></li>
  68.                                         <li><a href="#">University</a></li>
  69.                                     </ul>
  70.                                 </div>
  71.                                   <div class="recent-posts mb-50">
  72.                                       <h3 class="widget-title">Meta</h3>
  73.                                       <ul>
  74.                                           <li><a href="#">Log in</a></li>
  75.                                           <li><a href="#">Entries feed</a></li>
  76.                                           <li><a href="#">Comments feed</a></li>
  77.                                           <li><a href="#">WordPress.org</a></li>
  78.                                       </ul>
  79.                                   </div>#}
  80.                             </div>
  81.                         </div>
  82.                         <div class="col-lg-8 pr-50 md-pr-15">
  83.                            <div class="blog-deatails">
  84.                                 <div class="bs-img">
  85.                                     <a href="#"><img src="{{asset(article.titreImage)}}"  alt="images"/></a>
  86.                                 </div>
  87.                                <div class="blog-full">
  88.                                    <ul class="single-post-meta">
  89.                                       {# <li>
  90.                                            <span class="p-date"> <i class="fa fa-calendar-check-o"></i> April 6, 2020 </span>
  91.                                        </li> 
  92.                                        <li>
  93.                                            <span class="p-date"> <i class="fa fa-user-o"></i> admin </span>
  94.                                        </li> 
  95.                                        <li class="Post-cate">
  96.                                            <div class="tag-line">
  97.                                                <i class="fa fa-book"></i>
  98.                                                <a href="#">Strategy</a>
  99.                                            </div>
  100.                                        </li>
  101.                                        <li class="post-comment"> <i class="fa fa-comments-o"></i> 0</li>#}
  102.                                    </ul>
  103.                                    {{article.contenuArticle|raw}}
  104.                                </div>
  105.                            </div>
  106.                            <div class="ps-navigation">
  107.                                <ul>
  108.                                   {# <li><a href="#"><span class="next-link">Next<i class="flaticon-next"></i></span></a></li>
  109.                                    <li><a href="#"><span class="link-text">Soundtrack filma Lady Exclusive Music </span></a></li>#}
  110.                                </ul>
  111.                            </div>
  112.                           {# <div class="comment-area">
  113.                               <div class="comment-full">
  114.                                   <h3 class="reply-title">Leave a Reply</h3>
  115.                                     <p>
  116.                                       <span>Your email address will not be published. Required fields are marked </span>
  117.                                     </p>
  118.                                     <form id="contact-form" method="post" action="mailer.php">
  119.                                         <div class="row">
  120.                                             <div class="col-md-6 col-sm-12">
  121.                                                 <div class="form-group">
  122.                                                     <label>Name*</label>
  123.                                                     <input type="text" class="form-control" required="">
  124.                                                 </div>
  125.                                             </div>
  126.                                             <div class="col-md-6 col-sm-12">
  127.                                                 <div class="form-group">
  128.                                                     <label>Email*</label>
  129.                                                     <input type="email" class="form-control" required="">
  130.                                                 </div>
  131.                                             </div>
  132.                                             <div class="col-md-12 col-sm-12 mb-35">
  133.                                                 <div class="form-group">
  134.                                                     <label>Your comment here...</label>
  135.                                                     <textarea cols="40" rows="10" class="textarea form-control" required=""></textarea>
  136.                                                 </div>
  137.                                             </div>
  138.                                         </div>
  139.                                     </form>
  140.                                     <div class="submit-btn">
  141.                                         <input name="submit" type="submit" id="submit" class="submit" value="Post Comment">
  142.                                     </div>
  143.                               </div>
  144.                            </div>#}
  145.                         </div>
  146.                     </div> 
  147.                 </div>
  148.             </div>
  149.             <!-- Blog Section End -->  
  150.             <!-- Newsletter section start -->
  151.            {# <div class="rs-newsletter style1 orange-color mb--90 sm-mb-0 sm-pb-70">
  152.                 <div class="container">
  153.                     <div class="newsletter-wrap">
  154.                         <div class="row y-middle">
  155.                             <div class="col-lg-6 col-md-12 md-mb-30">
  156.                                <div class="content-part">
  157.                                    <div class="sec-title">
  158.                                        <div class="title-icon md-mb-15">
  159.                                            <img src="assets/images/newsletter.png" alt="images">
  160.                                        </div>
  161.                                        <h2 class="title mb-0 white-color">Subscribe to Newsletter</h2>
  162.                                    </div>
  163.                                </div>
  164.                             </div>
  165.                             <div class="col-lg-6 col-md-12">
  166.                                 <form class="newsletter-form">
  167.                                     <input type="email" name="email" placeholder="Enter Your Email" required="">
  168.                                     <button type="submit">Submit</button>
  169.                                 </form>
  170.                             </div>
  171.                         </div>
  172.                     </div>
  173.                 </div>
  174.             </div>#}
  175.             <!-- Newsletter section end -->
  176.             </div> 
  177. </body>
  178. {% endblock %}
  179. {% block javascripts %}
  180. {{parent()}}
  181.     
  182. {% endblock %}