<section class="document document-preview type-rich"
         tal:define="
           plone_view here/@@plone;
         "
         i18n:domain="ploneintranet"
>
  <figure>
    <article class="rich-page pat-rich">
      <section class="page-preview">
        <tal:text replace="structure here/text/raw|nothing" />
      </section>
      <a class="follow pat-inject pat-switch"
         href="${here/absolute_url}?show_sidebar=1#app-space"
         data-pat-inject="history: record"
         data-pat-switch="#app-space state-* state-on"
         i18n:translate=""
      >
        Follow
      </a>
    </article>

    <figcaption>
      <strong class="title">
        <a class="pat-inject pat-switch"
           href="${here/absolute_url}?show_sidebar=1#app-space"
           title=""
           data-pat-inject="history: record"
           data-pat-switch="#app-space state-* state-on"
        >
          ${here/title}
        </a>
      </strong>
      <a class="pat-inject pat-switch"
         href="${here/absolute_url}?show_sidebar=1#app-space"
         title=""
         data-pat-inject="history: record"
         data-pat-switch="#app-space state-* state-on"
         tal:define="
           description here/Description;
         "
      >
        <em class="byline">${python:plone_view.cropText(description, 340)}</em>
      </a>
    </figcaption>

  </figure>
</section>
