templates/pages/singleNews.html.twig line 1

Open in your IDE?
  1. {% extends "single-news-base.html.twig" %}
  2. {% import "./macros_typography.html.twig" as macrosTypography %}
  3. {% import "./macros_button.html.twig" as macrosButton %}
  4. {% set headerColor = 'header-white'%}
  5. {% set bodyClass = 'bg-white'%}
  6.     {% block content %}
  7.       <section class="news-single-section pt-48 xl:pt-64 md:pb-24"
  8.     section-shade="light">
  9.           <div class="custom-text-wrapp mx-auto max-w-[984px] px-8 pb-16 lg:pb-44">
  10.                 {% for item in content.blocks %}
  11.                   {{ include('includes/blocks/' ~ item.type ~ '.html.twig', { content : item, template : template, globalContent: content}) }}
  12.                 {% endfor %} 
  13.           </div>
  14.       </section>
  15.  
  16.     {% endblock %}
  17.