summaryrefslogblamecommitdiffstats
path: root/templates/thumbs.html
blob: cadbbc7be327efb489e106d8f75d70b04e828efc (plain) (tree)
1
2
3
4
5
6
7
8
9






                                                                 
                 
                                            
           
















                                        




                                              

          
      
<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>