summaryrefslogtreecommitdiffstats
path: root/templates/resources.html
blob: ab8f0667e78f0e81f21fb38aea53c9365617bad6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<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>