<div class="page-renders"
     id="document-previews"
     tal:define="
       dummy context/@@http-cache-headers;
     "
     i18n:domain="ploneintranet"
>
  <figure class="page-compound"
          id="page-${id}-page-compound-rendered"
          tal:define="
            id request/page;
            preview python:view.previews(id);
            aspect_ratio python:view.aspect_ratio(id);
          "
  >
    <a class="gallery-item"
       href="${preview}"
    >
      <img class="page"
           alt="Page ${id}"
           src="${preview}"
           style="aspect-ratio: ${aspect_ratio}"
      />
    </a>
  </figure>
</div>
