summaryrefslogtreecommitdiffstats
path: root/templates/thumbs.html
blob: cadbbc7be327efb489e106d8f75d70b04e828efc (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
26
27
28
29
30
31
32
33
34
35
<div class="thumbs">
  $for(posts)$
  <div class="thumb panel">
    $if(thumbnail)$
    <div class="thumbnail" style="height: 25vh">$thumbnail$</div>
    <br>
    $endif$
    $if(torrent)$
    $partial("templates/video-player.html")$
    $endif$
    <div class="thumb-title">
      <a href="$url$">
        <h2>$title$</h2>
        <div style="flex-grow: 1"></div>
        <h3>
          $if(author)$
          <span>$author$ - </span>
          $endif$
          <span>$date$</span>
        </h3>
      </a>
    </div>
    $if(subtitle)$
    <div class="thumb-subtitle">
      $subtitle$
    </div>
    $endif$
    $if(teaser)$
    <div class="thumb-teaser">
      $teaser$<a href="$url$">read more...</a>
    </div>
    $endif$
  </div>
  $endfor$
</div>