vendor/score/cms/src/Resources/views/Public/default/article_detail.html.twig line 1

Open in your IDE?
  1. {% extends cms_template() %}
  2. {% block title %}
  3.     {{article.name}}    |    {{parent()}}
  4. {% endblock %}
  5. {% block body %}
  6.     <div class="container py-3">
  7.         <div class="row govuk-grid-row">
  8.             <div class="col-md-8 govuk-grid-column-three-quarters">
  9.                 <h1 class="govuk-heading-xl">{{ article.name }}</h1>
  10.                 <div class="govuk-body-l">
  11.                     {{ article.teaser|raw }}
  12.                 </div>
  13.                 <div class="govuk-body">
  14.                     {{ article.body|raw }}
  15.                 </div>
  16.             </div>
  17.             <div class="col-md-4 govuk-grid-column-one-quarter">
  18.                 <h2 class="govuk-heading-m">Aktuality</h2>
  19.                 {%  for article in articles %}
  20.                     <div class=" py-4">
  21.                         {{ include('@ScoreCms/Public/default/_article_card_mini.html.twig',{'article':article}) }}
  22.                     </div>
  23.                 {% endfor %}
  24.             </div>
  25.         </div>
  26.     </div>
  27. {% endblock %}