summaryrefslogtreecommitdiffstats
path: root/templates/post.html
blob: b9bbbe0554b35f79c2ad56f86d296bc195232608 (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
36
37
38
39
<main role="main">
  $if(torrent)$
  $partial("templates/load-webtorrent.html")$
  $endif$
  <article>
    $if(thumbnail)$
    <div class="thumbnail" style="height: 30vh;">$thumbnail$</div>
    $endif$
    $if(torrent)$
    $partial("templates/video-player.html")$
    $endif$
    <div class="panel">
      <section class="header">
        <div class="title">
          <h1>$title$</h1>
          <a href="https://infoculture.pub$url$">permalink</a>
          <a href="/$path$">raw</a>
          $if(torrent)$
          <a href="$torrent$">magnet link</a>
          $endif$
        </div>
        <div class="meta">
          $if(author)$
          <h2 class="author">$author$</h2>
          $endif$
          <h3 class="date">$date$</h3>
          $if(tags)$
          <h3 class="tags">$tags$</h3>
          $endif$
        </div>
      </section>
      <br>
      <br>
      <section>
        $body$
      </section>
    </div>
  </article>
</main>