templates/posts/show.html.twig line 1

Open in your IDE?
  1. {% extends 'posts/blog_tpl.html.twig' %}
  2. {% block post_content %}
  3.     <div class="blog-content">
  4.         <div class="blog-image">
  5.             <img src="{{ content.thumbnail|imagine_filter('thumbnail_500_400') }}" alt="{{ content.title }}">
  6.         </div>
  7.         <h1 class="post-title">{{ content.title }}</h1>
  8.         <p class="post-summary">{{ content.summary }}</p>
  9.         <div class="post-body">
  10.             {{ content.body|raw }}
  11.         </div>
  12.         <div class="blog-tags">
  13.             <div class="row align-items-center">
  14.                 <div class="col-md-7">
  15.                     <ul class="mata-tags">
  16.                         <li class="tags">Tags:</li>
  17.                         <li><a href="#">Travel</a></li>
  18.                         <li><a href="#">Politics</a></li>
  19.                         <li><a href="#">Fashion</a></li>
  20.                     </ul>
  21.                 </div>
  22.                 <div class="col-md-5">
  23.                     <ul class="social-links text-right"> 
  24.                         <li class="shares">Share:</li>                                    
  25.                         <li><a href="#"><i class="fa-brands fa-facebook-f"></i></a></li>
  26.                         <li><a href="#"><i class="fa-brands fa-twitter"></i></a></li>
  27.                         <li><a href="#"><i class="fa-brands fa-instagram"></i></a></li>
  28.                     </ul>
  29.                 </div>
  30.             </div>
  31.         </div> 
  32.         <a href="#" class="post-author">
  33.             <div class="avatar">
  34.                 <img src="{{ asset('themes/castine/assets/images/single-blog/1.jpg') }}" alt=""> 
  35.             </div>
  36.             <div class="info">
  37.                 <h4 class="name">Sara Mening</h4>                                                
  38.                 <p>Only a quid bum bag cheeky bugger geeza car boot what a load of rubbish super burke tomfoolery up the kyver plastered.</p>
  39.                 <span class="designation">All stories by : Sara Mening</span>
  40.             </div>
  41.         </a> 
  42.         <div class="single-nav"> 
  43.             <div class="back-prev"> <a href="#"><i class="fa-solid fa-arrow-right"></i> Preovious Post <em>Social media strategies</em></a> </div>
  44.             
  45.             <div class="back-next"><a href="#">Next Post <i class="fa-solid fa-arrow-right"></i> <em> Amazing theme performance</em></a></div>
  46.         </div>
  47.         
  48.         <div class="back-blog-related">                    
  49.             <div class="container"> 
  50.             <div class="back-title back-small-title">
  51.                 <h2>Related Posts</h2>
  52.             </div>                   
  53.                 <ul id="back-blog-slider" class="owl-carousel owl-theme owl-loaded owl-drag">
  54.                     
  55.                 <div class="owl-stage-outer"><div class="owl-stage" style="transform: translate3d(-756px, 0px, 0px); transition: all 0s ease 0s; width: 2520px;"><div class="owl-item cloned" style="width: 232px; margin-right: 20px;"><li class="item">
  56.                         <div class="back-inner">
  57.                             <div class="back-blog-image">
  58.                                 <a href="blog-details.html"><img src="{{ asset('themes/castine/assets/images/related/2.jpg') }}" alt=""></a>
  59.                             </div>
  60.                             <div class="back-blog-content">
  61.                                 <em class="back-blog-date">May 17, 2022</em>
  62.                                 <a href="blog-details.html"><h3>The surprising reason <br> collegeTuition is crazy..</h3></a>
  63.                                 <ul>
  64.                                     <li class="back-author"> <span><img src="{{ asset('themes/castine/assets/images/author/2.jpg') }}" alt="image"></span> <a href="#">Nina Allon </a></li>
  65.                                 </ul>
  66.                             </div>
  67.                         </div>
  68.                     </li></div><div class="owl-item cloned" style="width: 232px; margin-right: 20px;"><li class="item">
  69.                         <div class="back-inner">
  70.                             <div class="back-blog-image">
  71.                                 <a href="blog-details.html"><img src="{{ asset('themes/castine/assets/images/related/3.jpg') }}" alt=""></a>
  72.                             </div>
  73.                             <div class="back-blog-content">
  74.                                 <em class="back-blog-date">October 14, 2022</em>
  75.                                 <a href="blog-details.html"><h3>Those other <br> college expenses about</h3></a>
  76.                                 <ul>
  77.                                     <li class="back-author"><span><img src="{{ asset('themes/castine/assets/images/author/3.jpg') }}" alt="image"></span> <a href="#">Nina Allon </a></li>                  
  78.                                 </ul>
  79.                             </div>
  80.                         </div>
  81.                     </li></div><div class="owl-item cloned" style="width: 232px; margin-right: 20px;"><li class="item">
  82.                         <div class="back-inner">
  83.                             <div class="back-blog-image">
  84.                                 <a href="blog-details.html"><img src="{{ asset('themes/castine/assets/images/related/4.jpg') }}" alt=""></a>
  85.                             </div>
  86.                             <div class="back-blog-content">
  87.                                 <em class="back-blog-date">April 19, 2022</em>
  88.                                 <a href="blog-details.html"><h3>Fostering future <br> schools &amp; social innovation</h3></a>
  89.                                 <ul>
  90.                                     <li class="back-author"> <span><img src="{{ asset('themes/castine/assets/images/author/4.jpg') }}" alt="image"></span> <a href="#">Nina Allon </a></li>
  91.                                 </ul>
  92.                             </div>
  93.                         </div>
  94.                     </li></div><div class="owl-item active" style="width: 232px; margin-right: 20px;"><li class="item">
  95.                         <div class="back-inner">
  96.                             <div class="back-blog-image">
  97.                                 <a href="blog-details.html"><img src="{{ asset('themes/castine/assets/images/related/1.jpg') }}" alt=""></a>
  98.                             </div>
  99.                             <div class="back-blog-content">
  100.                                 <em class="back-blog-date">April 13, 2022</em>
  101.                                 <a href="blog-details.html"><h3>Fostering future <br> schools &amp; social innovation</h3></a>    
  102.                                 <ul>
  103.                                     <li class="back-author"> <span><img src="{{ asset('themes/castine/assets/images/author/1.jpg') }}" alt="image"></span> <a href="#">Nina Allon</a> </li>
  104.                                 </ul>
  105.                             </div>
  106.                         </div>
  107.                     </li></div><div class="owl-item active" style="width: 232px; margin-right: 20px;"><li class="item">
  108.                         <div class="back-inner">
  109.                             <div class="back-blog-image">
  110.                                 <a href="blog-details.html"><img src="{{ asset('themes/castine/assets/images/related/2.jpg') }}" alt=""></a>
  111.                             </div>
  112.                             <div class="back-blog-content">
  113.                                 <em class="back-blog-date">May 17, 2022</em>
  114.                                 <a href="blog-details.html"><h3>The surprising reason <br> collegeTuition is crazy..</h3></a>
  115.                                 <ul>
  116.                                     <li class="back-author"> <span><img src="{{ asset('themes/castine/assets/images/author/2.jpg') }}" alt="image"></span> <a href="#">Nina Allon </a></li>
  117.                                 </ul>
  118.                             </div>
  119.                         </div>
  120.                     </li></div><div class="owl-item active" style="width: 232px; margin-right: 20px;"><li class="item">
  121.                         <div class="back-inner">
  122.                             <div class="back-blog-image">
  123.                                 <a href="blog-details.html"><img src="{{ asset('themes/castine/assets/images/related/3.jpg') }}" alt=""></a>
  124.                             </div>
  125.                             <div class="back-blog-content">
  126.                                 <em class="back-blog-date">October 14, 2022</em>
  127.                                 <a href="blog-details.html"><h3>Those other <br> college expenses about</h3></a>
  128.                                 <ul>
  129.                                     <li class="back-author"><span><img src="{{ asset('themes/castine/assets/images/author/3.jpg') }}" alt="image"></span> <a href="#">Nina Allon </a></li>                  
  130.                                 </ul>
  131.                             </div>
  132.                         </div>
  133.                     </li></div><div class="owl-item" style="width: 232px; margin-right: 20px;"><li class="item">
  134.                         <div class="back-inner">
  135.                             <div class="back-blog-image">
  136.                                 <a href="blog-details.html"><img src="{{ asset('themes/castine/assets/images/related/4.jpg') }}" alt=""></a>
  137.                             </div>
  138.                             <div class="back-blog-content">
  139.                                 <em class="back-blog-date">April 19, 2022</em>
  140.                                 <a href="blog-details.html"><h3>Fostering future <br> schools &amp; social innovation</h3></a>
  141.                                 <ul>
  142.                                     <li class="back-author"> <span><img src="{{ asset('themes/castine/assets/images/author/4.jpg') }}" alt="image"></span> <a href="#">Nina Allon </a></li>
  143.                                 </ul>
  144.                             </div>
  145.                         </div>
  146.                     </li></div><div class="owl-item cloned" style="width: 232px; margin-right: 20px;"><li class="item">
  147.                         <div class="back-inner">
  148.                             <div class="back-blog-image">
  149.                                 <a href="blog-details.html"><img src="{{ asset('themes/castine/assets/images/related/1.jpg') }}" alt=""></a>
  150.                             </div>
  151.                             <div class="back-blog-content">
  152.                                 <em class="back-blog-date">April 13, 2022</em>
  153.                                 <a href="blog-details.html"><h3>Fostering future <br> schools &amp; social innovation</h3></a>    
  154.                                 <ul>
  155.                                     <li class="back-author"> <span><img src="{{ asset('themes/castine/assets/images/author/1.jpg') }}" alt="image"></span> <a href="#">Nina Allon</a> </li>
  156.                                 </ul>
  157.                             </div>
  158.                         </div>
  159.                     </li></div><div class="owl-item cloned" style="width: 232px; margin-right: 20px;"><li class="item">
  160.                         <div class="back-inner">
  161.                             <div class="back-blog-image">
  162.                                 <a href="blog-details.html"><img src="{{ asset('themes/castine/assets/images/related/2.jpg') }}" alt=""></a>
  163.                             </div>
  164.                             <div class="back-blog-content">
  165.                                 <em class="back-blog-date">May 17, 2022</em>
  166.                                 <a href="blog-details.html"><h3>The surprising reason <br> collegeTuition is crazy..</h3></a>
  167.                                 <ul>
  168.                                     <li class="back-author"> <span><img src="{{ asset('themes/castine/assets/images/author/2.jpg') }}" alt="image"></span> <a href="#">Nina Allon </a></li>
  169.                                 </ul>
  170.                             </div>
  171.                         </div>
  172.                     </li></div><div class="owl-item cloned" style="width: 232px; margin-right: 20px;"><li class="item">
  173.                         <div class="back-inner">
  174.                             <div class="back-blog-image">
  175.                                 <a href="blog-details.html"><img src="{{ asset('themes/castine/assets/images/related/3.jpg') }}" alt=""></a>
  176.                             </div>
  177.                             <div class="back-blog-content">
  178.                                 <em class="back-blog-date">October 14, 2022</em>
  179.                                 <a href="blog-details.html"><h3>Those other <br> college expenses about</h3></a>
  180.                                 <ul>
  181.                                     <li class="back-author"><span><img src="{{ asset('themes/castine/assets/images/author/3.jpg') }}" alt="image"></span> <a href="#">Nina Allon </a></li>                  
  182.                                 </ul>
  183.                             </div>
  184.                         </div>
  185.                     </li></div></div></div><div class="owl-nav disabled"><button type="button" role="presentation" class="owl-prev"><span aria-label="Previous">‹</span></button><button type="button" role="presentation" class="owl-next"><span aria-label="Next">›</span></button></div><div class="owl-dots disabled"></div></ul>
  186.             </div>
  187.         </div>
  188.     </div>
  189. {% endblock %}
  190. {% block post_sidebar %}
  191.     <aside class="widget author_widget">
  192.         <h3 class="widget-title">ABOUT AUTHOR</h3>
  193.         <div class="widget-content text-center"> 
  194.         <div class="profile"> 
  195.             <figure class="avatar"> 
  196.                 <a href="#"> 
  197.                     <img src="{{ content.user.thumbnail|imagine_filter('thumbnail_medium') }}" alt=""> 
  198.                 </a> 
  199.             </figure> 
  200.             <div class="text-content"> 
  201.                 <div class="name-title"> 
  202.                     <h3><a href="#">{{ content.user.firstname ~' ' ~ content.user.lastname }}</a></h3> 
  203.                 </div> 
  204.                 <p>Accumsan? Aliquet nobis doloremque, aliqua? Inceptos voluptatem, duis tempore optio quae animi viverra distinctio cumque vivamus, earum congue, anim velit</p> 
  205.             </div> 
  206.             <div class="socialgroup"> 
  207.                 <ul> 
  208.                     <li> <a target="_blank" href="#"> <i class="fab fa-facebook"></i> </a> </li> 
  209.                     <li> <a target="_blank" href="#"> <i class="fab fa-google"></i> </a> </li> 
  210.                     <li> <a target="_blank" href="#"> <i class="fab fa-twitter"></i> </a> </li> 
  211.                     <li> <a target="_blank" href="#"> <i class="fab fa-instagram"></i> </a> </li> 
  212.                     <li> <a target="_blank" href="#"> <i class="fab fa-pinterest"></i> </a> </li> 
  213.                 </ul> 
  214.             </div> 
  215.         </div> 
  216.         </div>
  217.     </aside>
  218.     {{ parent() }}
  219. {% endblock %}