templates/areas/headlines/view.html.twig line 1

Open in your IDE?
  1. {% set headline = pimcore_input('headline', {'placeholder': 'Heading'}) %}
  2. {% set lead = pimcore_wysiwyg('lead', {
  3.     height: 100,
  4.     'placeholder': 'Lead Text'
  5. }) %}
  6. {% if editmode or not headline.isEmpty() %}
  7.     <div class="page-header">
  8.         <h2>{{ headline|raw }}</h2>
  9.     </div>
  10. {% endif %}
  11. {% if editmode or not lead.isEmpty() %}
  12.     <div class="lead">
  13.         {{ lead|raw }}
  14.     </div>
  15. {% endif %}