summaryrefslogblamecommitdiffstats
path: root/templates/resources.html
blob: ab8f0667e78f0e81f21fb38aea53c9365617bad6 (plain) (tree)
























                                                                   
<main role="main">
  <ul class="resource-list">
    $for(resources)$
    <li class="panel">
      $if(thumbnail)$
      <div class="thumbnail" style="height: 25vh">$thumbnail$</div>
      $endif$
      $if(torrent)$
      $partial("templates/video-player.html")$
      $endif$
      <a href="$url$">$title$</a>
      $if(subtitle)$
      <div class="thumb-subtitle">
        $subtitle$
      </div>
      $endif$
      $if(teaser)$
      <div class="thumb-teaser">
        $teaser$<a href="$url$">read more...</a>
      </div>
      $endif$
    </li>
    $endfor$
  </ul>
</main>