<tal:block define="item_url context/getURL|context/absolute_url;
                  item_type context/portal_type;
                  use_view_action site_properties/typesUseViewActionInListings|python:();
                  item_description context/Description;
                  item_title_or_id context/pretty_title_or_id;"
            i18n:domain="collective.carousel">

<a href="#"
   tal:attributes="href python:(item_type in use_view_action) and item_url+'/view' or item_url;">
    <img src="" alt=""
         tal:condition="exists:context/image_mini"
         tal:replace="structure python: path('nocall:context/tag')(scale='mini', css_class='tileImage')" />
</a>

<h2 class="tileHeadline">
    <a href="#"
       class="summary url"
       tal:attributes="href python:(item_type in use_view_action) and item_url+'/view' or item_url;"
       tal:content="item_title_or_id">
        Item Title
    </a>
</h2>

<p class="tileBody">
    <span tal:omit-tag="" tal:condition="not:item_description">
        &nbsp;
    </span>
    <span class="description" tal:content="item_description">
        description
    </span>
</p>

<p class="tileFooter">
    <a href=""
       tal:attributes="href python:(item_type in use_view_action) and item_url+'/view' or item_url;"
       i18n:translate="read_more">
    Read More&hellip;
    </a>
</p>
</tal:block>
