templates/articles-blocks/citation.html.twig line 1

Open in your IDE?
  1. <div class="mt-40px">
  2.     <div class="article-citation center dflex fdc aic">
  3.         <span class="citation-icon dblock">{{ source('svg/citation-icon.html.twig') }}</span>
  4.         <div class="citation-content diblock cwhite w100">
  5.             {% if data.text is defined and data.text is not empty %}
  6.                 <div class="text dflex fdc lh24">
  7.                     {{ data.text|raw }}
  8.                 </div>
  9.             {% endif %}
  10.             <div class="citation-author">
  11.                 {% if data.contributor is defined and data.contributor is not empty %}
  12.                     <span>{{ data.contributor }}</span>
  13.                 {% endif %}
  14.                 {% if data.structure is defined and data.structure is not empty %}
  15.                     <span>{{ source('svg/structure-icon.html.twig') }}{{ data.structure }}</span>
  16.                 {% endif %}
  17.             </div>
  18.         </div>
  19.     </div>
  20. </div>