templates/home/blog.html.twig line 1

  1. {% extends 'theme.html.twig' %}
  2. {% block title %} Air Cargo and Freight Services - {{ parent() }} {% endblock %}
  3. {% block body %}
  4. <div class="dilevars-page-title d-flex align-items-center  header-layout-2 title-align-center title-color-white">
  5.     <div class="dilevars-page-title-layer container">
  6.         <div class="row">
  7.             <div class="col-md-12">            
  8.                 <h1 class="page-title">
  9.                     Blog Grid                </h1>
  10.                                     <div class="page-breadcrumbs">
  11.                     <div class="breadcrumb"><a href="#">Home</a> > <span class="current">Blog Grid</span></div>                    </div>
  12.                                 </div>                
  13.         </div>
  14.     </div>
  15. </div>
  16.     <div id="content" class="site-content"><div class="container">
  17.     <div class="row"> 
  18.         <div id="primary" class="content-area col-sm-12 col-md-12 col-lg-12 col-xl-12">
  19.             <main id="main" class="site-main">
  20.             
  21. <article id="post-1711" class="post-1711 page type-page status-publish hentry without-image">
  22.     <header class="entry-header">
  23.         <h1 class="entry-title">Blog Grid</h1>    </header><!-- .entry-header -->
  24.     
  25.     <div class="entry-content">
  26.                 <div data-elementor-type="wp-page" data-elementor-id="1711" class="elementor elementor-1711">
  27.                         <div class="elementor-inner">
  28.                 <div class="elementor-section-wrap">
  29.                                     <section class="elementor-section elementor-top-section elementor-element elementor-element-58df2a1 elementor-section-stretched elementor-section-boxed elementor-section-height-default elementor-section-height-default cd-bg-color-transparent" data-id="58df2a1" data-element_type="section" data-settings="{&quot;stretch_section&quot;:&quot;section-stretched&quot;}">
  30.                         <div class="elementor-container elementor-column-gap-default">
  31.                             <div class="elementor-row">
  32.                     <div class="elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-24da4da cd-bg-color-transparent" data-id="24da4da" data-element_type="column">
  33.             <div class="elementor-column-wrap elementor-element-populated">
  34.                             <div class="elementor-widget-wrap">
  35.                         <div class="elementor-element elementor-element-a9d1b7a elementor-widget elementor-widget-dilevars-blog" data-id="a9d1b7a" data-element_type="widget" data-widget_type="dilevars-blog.default">
  36.                 <div class="elementor-widget-container">
  37.                     <div class="dilevars_blog_wrapper dilevars-blog-1122381994 blog-style-2 blog-layout-grid">
  38.             <div class="row">
  39.             {% for blog in blogs %}
  40.             <div class="col-xl-4 col-lg-4 col-md-6 col-sm-12">
  41.             <div class="dilevars-post-slide">
  42.     <div class="dilevars-post-wrapper">                
  43.         <div class="dilevars-post-thumbnail-wrapper">
  44.                         <div class="dilevars-post-image-container">
  45.                             <a href="{{ path('app_home_blog_details', {'id': blog.id, 'slug': blog.slug}) }}">
  46.                                     <img decoding="async" class="post-image" src="{{ asset('/public/uploads/bloglistimage/' ~ blog.listImage) }}" alt="{{ blog.title }}">
  47.                             </a>
  48.                         </div>
  49.             <div class="dilevars-post-date">
  50.                 <span>{{ blog.publishDate|date('d') }}</span>
  51.                 <span class="dilevars-post-date-month">{{ blog.publishDate|date("F, Y") }}</span>
  52.             </div>            
  53.         </div> 
  54.         <div class="dilevars-post-content-area">    
  55.             <div class="dilevars-post-title">
  56.                 <h3 class="post-title">
  57.                     <a href="{{ path('app_home_blog_details', {'id': blog.id, 'slug': blog.slug}) }}">{{ blog.title }}</a>
  58.                 </h3>
  59.             </div>
  60.             <div class="dilevars-post-meta">
  61.                 <div class="dilevars-post-meta-inner">
  62.                     <div class="post-meta-item post-author">                    
  63.                         <a href="{{ path('app_home_blog_details', {'id': blog.id, 'slug': blog.slug}) }}" title="Posted by admin" rel="author"><i class="fas fa-user"></i> by admin</a>
  64.                     </div>
  65.                     
  66.                 </div>
  67.             </div>
  68.         </div>
  69.     </div>
  70.     </div>        </div>
  71.         {% else %}
  72.         No records found
  73.         {% endfor %}
  74.         </div>
  75.         </div>
  76.                 </div>
  77.                 </div>
  78.                         </div>
  79.                     </div>
  80.         </div>
  81.                                 </div>
  82.                     </div>
  83.         </section>
  84.                                     </div>
  85.             </div>
  86.                     </div>
  87.             </div><!-- .entry-content -->
  88.     </article><!-- #post-1711 -->
  89.             </main><!-- #main -->
  90.         </div><!-- #primary -->
  91.             </div>
  92. </div>
  93.     </div><!-- #content -->
  94.     
  95. {% endblock %}