{# Article - line view #} {# content_size variable is in a relationship with Twitter Bootstrap grid system. #} {# When image is not set then maximum page width will be used, which is 8 in this case. #} {% set content_size = '8' %}
{% if not ez_is_field_empty( content, 'image' ) %}
{{ ez_render_field( content, 'image', { 'template': 'eZDemoBundle:fields:ezimage_simple.html.twig', 'parameters': {'alias': 'articlethumbnail'} } ) }}
{% set content_size = '6' %} {% endif %}
{% if not ez_is_field_empty( content, 'intro' ) %}
{{ ez_render_field( content, 'intro' ) }}
{% endif %}