The repository for the code used for generating the photos.pablopie.xyz website 📸️

thumb.thtml (460B)

 1 <figure xmlns:py="http://genshi.edgewall.org/">
 2     <a href="$media.link">
 3       <img src="$media.thumb"
 4            width="$media.thumb_width"
 5            height="$media.thumb_height"
 6            alt="$media.thumb_name thumb"/>
 7     </a>
 8     <a py:if="media.type == 'video'"
 9        href="$media.link"><img class="video_arrow" src="${rel_root}shared/video_arrow.svg" alt="video arrow overlay"/><span class="video_length" py:content="media.length" /></a>
10 </figure>