diff options
Diffstat (limited to '')
-rw-r--r-- | templates/resource.html | 36 |
1 files changed, 34 insertions, 2 deletions
diff --git a/templates/resource.html b/templates/resource.html index b93984a..20b9716 100644 --- a/templates/resource.html +++ b/templates/resource.html @@ -2,5 +2,37 @@ $if(torrent)$ $partial("templates/load-webtorrent.html")$ $endif$ - $partial("templates/article.html")$ -</main>
\ No newline at end of file + <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$ + $if(tags)$ + <h3 class="tags">$tags$</h3> + $endif$ + </div> + </section> + <br> + <br> + <section> + $body$ + </section> + </div> + </article> +</main> |