summaryrefslogtreecommitdiffstats
path: root/templates/thumbs.html
blob: 91cfd74886ced1880e8e993e47b57364ca1fba39 (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
<div class="thumbs">
  $for(posts)$
  <div class="thumb panel">
    $if(thumbnail)$
    <div class="thumbnail" style="height: 25vh">$thumbnail$</div>
    <br>
    $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$
  </div>
  $endfor$
</div>