<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
      xmlns:tal="http://xml.zope.org/namespaces/tal"
      xmlns:metal="http://xml.zope.org/namespaces/metal"
      xmlns:i18n="http://xml.zope.org/namespaces/i18n"
      lang="en"
      i18n:domain="plone"
      tal:omit-tag="">

<body tal:omit-tag="">

    <div class="item visualIEFloatFix"
         tal:define="portal_state context/@@plone_portal_state;
                     context_state context/@@plone_context_state;
                     plone_view context/@@plone;
                     lang portal_state/language;
                     view nocall:view | nocall: plone_view;
                     dummy python: plone_view.mark_view(view);
                     portal_url portal_state/portal_url;
                     checkPermission nocall: context/portal_membership/checkPermission;
                     site_properties context/portal_properties/site_properties;
                     item_type context/portal_type;
                     item_layout here/getLayout;
                     override python: {'Link': 'link_view'};
                     item_macro python:path('here/%s/macros/content-core | nothing' % override.get(item_type, item_layout));
                     use_view_action site_properties/typesUseViewActionInListings|python:();
                     item_url context/absolute_url;
                     normalizeString nocall: context/plone_utils/normalizeString;
                     item_type_class python: 'contenttype-' + normalizeString(item_type);
                     kss_inline_editable python:False;
                     ">

        <div tal:replace="structure provider:plone.abovecontenttitle" />

        <h2 class="headline">
            <a href="#" class="summary url" tal:content="context/Title"
               tal:attributes="href python:test(item_type in use_view_action, item_url+'/view', item_url);">
               Title or id
             </a>
        </h2>

        <div tal:replace="structure provider:plone.belowcontenttitle" />

        <div class="description"
             tal:content="context/Description"
             tal:condition="context/Description">
            Description
        </div>

        <tal:block tal:condition="item_macro">

            <div tal:replace="structure provider:plone.abovecontentbody" />

            <div metal:use-macro="item_macro">
                content
            </div>

            <div tal:replace="structure provider:plone.belowcontentbody" />

        </tal:block>

        <p class="more" tal:condition="not:item_macro">
            <a href=""
               tal:attributes="href python:test(item_type in use_view_action, item_url+'/view', item_url);"
               i18n:translate="read_more">
                Read More&hellip;
            </a>
        </p>

        <div class="visualClear"><!-- --></div>

    </div>

</body>
</html>
